代码调整
This commit is contained in:
parent
0093b8bae1
commit
4bfa9c78b8
@ -122,7 +122,7 @@ export default {
|
||||
brakeTrain() {
|
||||
sandTableTrainControl(this.$route.query.group, { groupNumber: this.groupNumber, right: this.right, speed: 0 }).then(resp => {
|
||||
this.speed = 0;
|
||||
}).catch(err => { this.$message.error(err.message); });
|
||||
}).catch(err => { this.$message.error(err.message); }).finally(() => { this.changeSpeedFlag = false; });
|
||||
},
|
||||
handleRun() {
|
||||
const step = {
|
||||
|
@ -150,7 +150,7 @@ export default {
|
||||
}
|
||||
sandTableTrainControl(this.$route.query.group, { groupNumber: this.groupNumber, right: this.right, speed: 0 }).then(resp => {
|
||||
this.speed = 0;
|
||||
}).catch(err => { this.$message.error(err.message); });
|
||||
}).catch(err => { this.$message.error(err.message); }).finally(() => { this.changeSpeedFlag = false; });
|
||||
},
|
||||
handleRun() {
|
||||
if (!this.groupNumber) {
|
||||
|
Loading…
Reference in New Issue
Block a user