kz-ui-base 1.0.18 → 1.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
>
|
|
9
9
|
<template v-for="(item, index) in topMenusNew">
|
|
10
10
|
<el-menu-item
|
|
11
|
+
v-if="item.isShow"
|
|
11
12
|
:style="{ '--theme': theme }"
|
|
12
13
|
:index="index + ''"
|
|
13
14
|
:key="index + 'l'"
|
|
@@ -125,6 +126,7 @@ export default {
|
|
|
125
126
|
|
|
126
127
|
this.list.forEach((item) => {
|
|
127
128
|
this.topMenusNew.push({
|
|
129
|
+
isShow:item.isShow,
|
|
128
130
|
systemCode: item.systemCode,
|
|
129
131
|
meta: { title: item.systemName, icon: "excel" },
|
|
130
132
|
path: item.route,
|
|
@@ -148,6 +150,9 @@ export default {
|
|
|
148
150
|
"SET_SIDEBAR_ROUTERS",
|
|
149
151
|
this.$store.state.permission.defaultRoutes
|
|
150
152
|
);
|
|
153
|
+
if(!localStorage.getItem('systemId')){
|
|
154
|
+
this.handleSelect(0)
|
|
155
|
+
}
|
|
151
156
|
});
|
|
152
157
|
},
|
|
153
158
|
computed: {
|