浏览代码

代码优化

tanxue 2 月之前
父节点
当前提交
b7c812280a
共有 2 个文件被更改,包括 2 次插入0 次删除
  1. 1 0
      pages/Login/components/adminloginBox.vue
  2. 1 0
      pages/Login/components/clientloginBox.vue

+ 1 - 0
pages/Login/components/adminloginBox.vue

@@ -109,6 +109,7 @@
 			userName: trimmedUserName,
 			password: lliPassword.value,
 		}).then(res => {
+			// 2为家政管理员
 			if(res.data.type ===2){
 				cacheManager.set('auth', res.data)
 				store.setIsCanBack(false)

+ 1 - 0
pages/Login/components/clientloginBox.vue

@@ -109,6 +109,7 @@
 			userName: trimmedUserName,
 			password: lliPassword.value,
 		}).then(res => {
+			// 4为家政人员
 			if(res.data.type ===4){
 				cacheManager.set('auth', res.data)
 				store.setIsCanBack(false)