Parcourir la source

用户管理选择显示问题

yuhan il y a 2 mois
Parent
commit
02f2222b38

+ 1 - 1
src/views/module_interLock/systemUser/modules/SystemUserForm.vue

@@ -446,6 +446,7 @@ import { postAction } from '../../../../api/manage'
           for (let i = 0; i < this.tpmTreeData.length; i++) {
             const element = this.tpmTreeData[i];
             element.manage = true
+            element.view = false
             element.indeterminateManage = false
             element.indeterminateView = false
             if(element.children && element.children.length > 0){
@@ -456,7 +457,6 @@ import { postAction } from '../../../../api/manage'
             }
           }
         } else {
-          // 当前为管理员
           this.manageHeader = false
           for (let i = 0; i < this.tpmTreeData.length; i++) {
             const element = this.tpmTreeData[i];