撤销调整运行图加载方式

This commit is contained in:
fan 2020-08-04 09:40:20 +08:00
parent 0d6641cb85
commit 6c02fe9b75

View File

@ -108,16 +108,13 @@ export default {
'$store.state.training.started': function (val) {
this.setRuning(val);
},
// '$store.state.training.switchcount': async function () {
// if (this.group) {
// const started = this.$store.state.training.started;
// if (started) {
// await this.loadRunData(this.$route.query);
// }
// }
// },
'$store.state.socket.runPlanReloadCount': function (val) {
this.loadRunData(this.$route.query);
'$store.state.training.switchcount': async function () {
if (this.group) {
const started = this.$store.state.training.started;
if (started) {
await this.loadRunData(this.$route.query);
}
}
}
},
async mounted() {