소스 검색

no message

linwenxin 7 달 전
부모
커밋
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)