diff --git a/src/store/modules/menuoperation.js b/src/store/modules/menuoperation.js index 8329ade98..361db0737 100644 --- a/src/store/modules/menuoperation.js +++ b/src/store/modules/menuoperation.js @@ -89,7 +89,9 @@ const menuOperation = { state.buttonOperation = operation; }, setSelected: (state, obj) => { - if (obj.subType) state.subType = obj.subType; + if (obj.subType) { + state.subType = obj.subType; + } else { state.subType = ''; } state.selected = obj.device; }, setMenuChange: (state, obj) => { diff --git a/src/views/newMap/displayBaSiDi/troDetail.vue b/src/views/newMap/displayBaSiDi/troDetail.vue index ad5cddcca..4cde646b6 100644 --- a/src/views/newMap/displayBaSiDi/troDetail.vue +++ b/src/views/newMap/displayBaSiDi/troDetail.vue @@ -4,7 +4,6 @@ :title="title" :visible.sync="show" :fullscreen="true" - append-to-body :before-close="doClose" :z-index="2000" >