diff --git a/src/jmapNew/theme/fuzhou_01/menus/localWorkMenu.vue b/src/jmapNew/theme/fuzhou_01/menus/localWorkMenu.vue
index 69aedce27..84a379620 100644
--- a/src/jmapNew/theme/fuzhou_01/menus/localWorkMenu.vue
+++ b/src/jmapNew/theme/fuzhou_01/menus/localWorkMenu.vue
@@ -10,7 +10,7 @@
-
+
diff --git a/src/jmapNew/theme/nanjing_02/menus/localWorkMenuBar.vue b/src/jmapNew/theme/nanjing_02/menus/localWorkMenuBar.vue
index 409cdfe63..66f5f320d 100644
--- a/src/jmapNew/theme/nanjing_02/menus/localWorkMenuBar.vue
+++ b/src/jmapNew/theme/nanjing_02/menus/localWorkMenuBar.vue
@@ -205,6 +205,11 @@ export default {
this.checkRoleChange(list);
}
},
+ '$store.state.trainingNew.trainingDetail': function(val) {
+ if (val && val.type) {
+ this.login();
+ }
+ },
'$store.state.socket.simulationAlarmInfo': function(val) {
(val || []).forEach(item => {
if (!item.confirmed) {
diff --git a/src/views/newMap/display/trainingList/trainingMenu.vue b/src/views/newMap/display/trainingList/trainingMenu.vue
index 55b923c6d..4f199b557 100644
--- a/src/views/newMap/display/trainingList/trainingMenu.vue
+++ b/src/views/newMap/display/trainingList/trainingMenu.vue
@@ -196,7 +196,6 @@ export default {
await loadPublishTraining(this.group, training.id, {mode: ''});
this.$message.success('加载实训成功!');
} catch (e) {
- console.error(e, '-----------');
this.$message.error('加载实训失败!');
}
}