代码调整

This commit is contained in:
joylink_cuiweidong 2022-07-29 18:04:28 +08:00
parent 80ef093b10
commit a33556ce64
3 changed files with 3 additions and 3 deletions

View File

@ -567,7 +567,7 @@ export default {
}, },
// //
turnDirection() { turnDirection() {
commitOperate(menuOperate.Train.turnDirection, { code: this.selected.code }, 3).then(({valid, operate})=>{ commitOperate(menuOperate.Train.turnDirection, { groupNumber: this.selected.groupNumber }, 3).then(({valid, operate})=>{
if (valid) { if (valid) {
this.$store.dispatch('menuOperation/handleBreakFlag', { break: true }); this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
} }

View File

@ -555,7 +555,7 @@ export default {
}, },
// //
turnDirection() { turnDirection() {
commitOperate(menuOperate.Train.turnDirection, { code: this.selected.code }, 3).then(({valid, operate})=>{ commitOperate(menuOperate.Train.turnDirection, { groupNumber: this.selected.groupNumber }, 3).then(({valid, operate})=>{
if (valid) { if (valid) {
this.$store.dispatch('menuOperation/handleBreakFlag', { break: true }); this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
} }

View File

@ -567,7 +567,7 @@ export default {
}, },
// //
turnDirection() { turnDirection() {
commitOperate(menuOperate.Train.turnDirection, { code: this.selected.code }, 3).then(({valid, operate})=>{ commitOperate(menuOperate.Train.turnDirection, { groupNumber: this.selected.groupNumber }, 3).then(({valid, operate})=>{
if (valid) { if (valid) {
this.$store.dispatch('menuOperation/handleBreakFlag', { break: true }); this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
} }