修改三维行车初始绑定列车

This commit is contained in:
sunzhenyu 2020-07-31 16:42:25 +08:00
parent 764a6139ea
commit 44710199b7

View File

@ -218,8 +218,6 @@ import axios from 'axios';
this.selVal = netdata.data[i].groupNumber; this.selVal = netdata.data[i].groupNumber;
this.groupnum = netdata.data[i].groupNumber; this.groupnum = netdata.data[i].groupNumber;
bindSimulationTrain(this.group,this.selVal).then(netdata => {
this.dialogVisible = true; this.dialogVisible = true;
for(let i=0;i<this.trainlist.length;i++){ for(let i=0;i<this.trainlist.length;i++){
if(this.trainlist[i].groupNumber == this.groupnum){ if(this.trainlist[i].groupNumber == this.groupnum){
@ -231,8 +229,11 @@ import axios from 'axios';
this.value = this.groupnum; this.value = this.groupnum;
this.nowdrive = this.groupnum; this.nowdrive = this.groupnum;
}).catch(error => { // bindSimulationTrain(this.group,this.selVal).then(netdata => {
}); //
//
// }).catch(error => {
// });
} }
} }