瀏覽代碼

fix(App.vue): 硬编码设置用户身份为1

临时将用户身份变量固定赋值为1,替代原有的根据用户类型判断的逻辑
lsc 1 月之前
父節點
當前提交
f8d6b1bc16
共有 1 個文件被更改,包括 2 次插入 和 1 次删除
  1. 2 1
      src/App.vue

+ 2 - 1
src/App.vue

@@ -215,7 +215,8 @@ const userInfo2 = (data) => {
   isShow.value = true
   CurrentRole.currentRole == data.user_role.join(",")
   Current.setUserCurrent(data)
-  userIdentity = data.init_user_type == '1' ? 1 : 2
+  // userIdentity = data.init_user_type == '1' ? 1 : 2
+  userIdentity = 1
   let userGrand = ""
 
   let params = {