From 4bfa9c78b8b2fe439b58ef5a265667659a1e348a Mon Sep 17 00:00:00 2001 From: fan Date: Tue, 11 Jul 2023 14:33:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/jmapNew/theme/components/menus/dialog/trainOperation.vue | 2 +- src/jmapNew/theme/datie_02/menus/menuDialog/trainOperation.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jmapNew/theme/components/menus/dialog/trainOperation.vue b/src/jmapNew/theme/components/menus/dialog/trainOperation.vue index 8b324f1b0..ed95f15b5 100644 --- a/src/jmapNew/theme/components/menus/dialog/trainOperation.vue +++ b/src/jmapNew/theme/components/menus/dialog/trainOperation.vue @@ -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 = { diff --git a/src/jmapNew/theme/datie_02/menus/menuDialog/trainOperation.vue b/src/jmapNew/theme/datie_02/menus/menuDialog/trainOperation.vue index dac5ad1eb..4883e23ed 100644 --- a/src/jmapNew/theme/datie_02/menus/menuDialog/trainOperation.vue +++ b/src/jmapNew/theme/datie_02/menus/menuDialog/trainOperation.vue @@ -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) {