同步按计划行车时间

This commit is contained in:
fan 2020-08-03 16:20:14 +08:00
parent 42d850de66
commit f23a3a8112

View File

@ -165,6 +165,11 @@ export default {
}, },
'$store.state.training.prdType': function(prdType) { '$store.state.training.prdType': function(prdType) {
this.change3dname(); this.change3dname();
},
'$store.state.socket.simulationStart': async function (val) {
if (val) {
this.$store.dispatch('training/setInitTime', +new Date(val));
}
} }
}, },
async mounted() { async mounted() {