Explorar el Código

1.还原应用赋能权限

胡荣基 hace 8 meses
padre
commit
66acd50a57
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      src/views/power-home/index.vue

+ 2 - 1
src/views/power-home/index.vue

@@ -30,7 +30,8 @@
                         :command="item2.name"
                         @click="linkToOther(item2,getDisabled(item2),item.name)"
                         :key="item2.name" v-for="item2 in item.children"
-                        :class="{
+                        :class="{'disabled':item2.disabled ||
+                                (!item2.isZi && !loginPinia.canSeeSystemArr.find(i => +i.MODULE_ID === +item2.moduleId)),
                                 'not-login':getDisabled(item2),
                                 'highlight': item2.name === selectedItem }">{{ item2.name }}
                     </el-dropdown-item>