diff --git a/src/views/newMap/display/simulationMenu/simulationMenu.vue b/src/views/newMap/display/simulationMenu/simulationMenu.vue index 254d070d7..82981fbb0 100644 --- a/src/views/newMap/display/simulationMenu/simulationMenu.vue +++ b/src/views/newMap/display/simulationMenu/simulationMenu.vue @@ -3,7 +3,7 @@
菜单
-
+
{{ each.label }}
@@ -83,21 +83,12 @@ export default { }, mapId() { return this.$route.query.mapId; - }, - autoMenuList() { - const list = []; - this.allMenuList.forEach(item => { - const obj = { - ...item, - show: item.isShow(), - disabled: item.isDisabled() - }; - list.push(obj); - }); - return list; } }, watch: { + '$store.state.ibp.moreScreen': function (val) { + this.handleMenuShow(); + }, '$store.state.training.simulationUserType': function (val) { this.handleMenuShow(); },