|
|
@@ -462,14 +462,14 @@ export default defineComponent({
|
|
|
},
|
|
|
|
|
|
mounted() {
|
|
|
- // getMenuList().then(res => {
|
|
|
- // // menuList
|
|
|
- // this.menuList = res
|
|
|
- // })
|
|
|
- // let userInfo = getAuthCache(USER_INFO_KEY);
|
|
|
- // getMenusIdsByRoleId(userInfo.plainRoles[0].roleId).then(res => {
|
|
|
- // this.menuIds = res
|
|
|
- // })
|
|
|
+ getMenuList().then(res => {
|
|
|
+ // menuList
|
|
|
+ this.menuList = res
|
|
|
+ })
|
|
|
+ let userInfo = getAuthCache(USER_INFO_KEY);
|
|
|
+ getMenusIdsByRoleId(userInfo.plainRoles[0].roleId).then(res => {
|
|
|
+ this.menuIds = res
|
|
|
+ })
|
|
|
// await getMenuList()
|
|
|
// eventBus.on('mapConfig', (e) => this.stageLayer(e));
|
|
|
eventBus.on('doubleScreenControl', () => {
|