Explorar o código

1.取消工具列表权限控制

胡荣基 hai 7 meses
pai
achega
b064236970
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      src/views/power-home/index.vue

+ 3 - 3
src/views/power-home/index.vue

@@ -30,8 +30,7 @@
                         :command="item2.name"
                         @click="linkToOther(item2,getDisabled(item2),item.name)"
                         :key="item2.name" v-for="item2 in item.children"
-                        :class="{'disabled':item2.disabled ||
-                                (!item2.isZi && !loginPinia.canSeeSystemArr.find(i => +i.MODULE_ID === +item2.moduleId)),
+                        :class="{
                                 'not-login':getDisabled(item2),
                                 'highlight': item2.name === selectedItem }">{{ item2.name }}
                     </el-dropdown-item>
@@ -940,9 +939,10 @@ function linkToOther(item, isDisabled, headName) {
 .el-row {
   margin-top: 10px;
 }
+
 .el-dropdown {
   font-weight: 500;
-  line-height:  0px !important;
+  line-height: 0px !important;
   border: none !important;
   font-size: inherit !important;
 }