diff --git a/src/jmapNew/theme/ningbo_03/menus/menuDialog/switchActive.vue b/src/jmapNew/theme/ningbo_03/menus/menuDialog/switchActive.vue index 6f8b47a29..8b5c3943f 100644 --- a/src/jmapNew/theme/ningbo_03/menus/menuDialog/switchActive.vue +++ b/src/jmapNew/theme/ningbo_03/menus/menuDialog/switchActive.vue @@ -160,10 +160,10 @@ export default { val: val.code }; + this.$store.dispatch('menuOperation/setSelected', {device: val}); this.$store.dispatch('trainingNew/next', step).then(({ valid }) => { if (valid) { this.$store.dispatch('menuOperation/handleBreakFlag', { break: true }); - this.$store.dispatch('menuOperation/setSelected', {device: val}); } }).catch(() => { this.$refs.noticeInfo.doShow();