lw-cdp-ui 1.2.63 → 1.2.65
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.
|
@@ -365,18 +365,13 @@ export default {
|
|
|
365
365
|
}
|
|
366
366
|
let isMenuIsCollapse = this.$tool.data.get("APP_menuIsCollapse")
|
|
367
367
|
this.$store.state.global.menuIsCollapse = !!isMenuIsCollapse
|
|
368
|
-
|
|
369
|
-
// 标志当前应用
|
|
370
|
-
this.$tool.data.set("MENUCOMBINEDNMAE", this.$config.APP_NAME);
|
|
371
368
|
},
|
|
372
369
|
async created() {
|
|
373
370
|
this.onLayoutResize();
|
|
374
371
|
window.addEventListener('resize', this.onLayoutResize);
|
|
375
372
|
this.getUserInfo();
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
this.menu = this.filterUrl(menu);
|
|
379
|
-
}
|
|
373
|
+
var menu = this.$router.sc_getMenu();
|
|
374
|
+
this.menu = this.filterUrl(menu);
|
|
380
375
|
this.showThis()
|
|
381
376
|
this.$store.commit("LOAD_USER_FROM_LOCAL_STORAGE")
|
|
382
377
|
},
|