代码调整

This commit is contained in:
joylink_cuiweidong 2022-06-30 15:20:41 +08:00
parent 8311b453bf
commit 057c39fb21
2 changed files with 8 additions and 2 deletions

View File

@ -191,6 +191,10 @@ export default {
// }
'$store.state.map.mapDataLoadedCount': function (val) { //
this.loadData();
},
// 仿-仿
'$store.state.socket.simulationReset': function (val) { //
this.loadData();
}
},
mounted() {
@ -227,7 +231,7 @@ export default {
});
},
addDisLoger(model) {
this.tableData.push(model);
this.tableData.unshift(model);
},
deleteDisLoger(model) {
this.tableData.map(data=>{

View File

@ -199,7 +199,9 @@ export default {
this.initDate(date);
},
'$store.state.socket.railwaySimulationRunplanSendChange': function (val) {
this.getRailwaySimulationRunplanSend();
if (this.isCtc) {
this.getRailwaySimulationRunplanSend();
}
},
'$store.state.training.roleDeviceCode': function (val) {
if (this.isCtc) {