上饶沙盘 列车操作 刹车调整

This commit is contained in:
fan 2021-11-08 15:36:16 +08:00
parent 166ce2d75a
commit 2cc79466b4

View File

@ -88,7 +88,7 @@ export default {
}).catch(err => { this.$message.error(err.message); }); }).catch(err => { this.$message.error(err.message); });
}, },
brakeTrain() { brakeTrain() {
srTrainControl(this.$route.query.group, { groupNumber: this.groupNumber, right: this.right, speed: this.speed }).then(resp => { srTrainControl(this.$route.query.group, { groupNumber: this.groupNumber, right: this.right, speed: 0 }).then(resp => {
this.speed = 0; this.speed = 0;
}).catch(err => { this.$message.error(err.message); }); }).catch(err => { this.$message.error(err.message); });
} }