diff --git a/src/store/modules/trainingNew.js b/src/store/modules/trainingNew.js
index 0513234fc..99e7d75dd 100644
--- a/src/store/modules/trainingNew.js
+++ b/src/store/modules/trainingNew.js
@@ -5,6 +5,7 @@ const training = {
trainingDetail: null, // 实训详情
trainingSwitch: false, // 实训开始结束标志
trainingOperate: null,
+ simulationPause: false, // 实训 暂停判断
stepOrder: 1,
operateOrder: 0,
stepOverCount: 0
@@ -51,6 +52,9 @@ const training = {
operateOrderIncrease: (state) => {
state.operateOrder++;
},
+ setSimulationPause: (state, value) => {
+ state.simulationPause = value;
+ },
clearOperateOrder: (state) => {
state.operateOrder = 0;
},
@@ -86,6 +90,9 @@ const training = {
operateOrderIncrease: ({commit}) => {
commit('operateOrderIncrease');
},
+ setSimulationPause: ({commit}, simulationPause) => {
+ commit('setSimulationPause', simulationPause);
+ },
clearOperateOrder: ({commit}) => {
commit('clearOperateOrder');
},
diff --git a/src/views/designPlatform/trainingDesign.vue b/src/views/designPlatform/trainingDesign.vue
index afda1cc3a..ee68605fc 100644
--- a/src/views/designPlatform/trainingDesign.vue
+++ b/src/views/designPlatform/trainingDesign.vue
@@ -3,21 +3,26 @@