浏览代码

no message

linwenxin 5 月之前
父节点
当前提交
30f175ae4f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/setting/account/index.vue

+ 1 - 1
src/views/setting/account/index.vue

@@ -491,7 +491,7 @@ export default {
         adminDeptTreeWebsit()
           .then(res => {
             var list = res.data
-            if (JSON.parse(localStorage.getItem('greemall_user'))?.type != 2) {
+            if (JSON.parse(localStorage.getItem('greemall_user'))?.type == 1) {
               list = list?.[0]?.children
             }
             resolve(list)