北京一号线查看站台信息结束后清除数据

This commit is contained in:
fan 2023-01-16 10:30:46 +08:00
parent 35fce14a31
commit a67d2abf65

View File

@ -235,7 +235,8 @@ export default {
commit() { commit() {
const operate = { const operate = {
type: MapDeviceType.StationStand.type, type: MapDeviceType.StationStand.type,
operation: OperationEvent.Command.close.confirm.operation operation: OperationEvent.Command.close.confirm.operation,
over: true
}; };
this.loading = true; this.loading = true;
@ -252,7 +253,8 @@ export default {
cancel() { cancel() {
const operate = { const operate = {
type: MapDeviceType.StationStand.type, type: MapDeviceType.StationStand.type,
operation: OperationEvent.Command.cancel.menu.operation operation: OperationEvent.Command.cancel.menu.operation,
cancel: true
}; };
this.$store.dispatch('trainingNew/next', operate).then(({ valid }) => { this.$store.dispatch('trainingNew/next', operate).then(({ valid }) => {