This commit is contained in:
fan 2020-11-18 10:55:30 +08:00
commit ba77b1b052

View File

@ -71,11 +71,9 @@ export function TrainConnect(trafficTrain,deviceaction,toptrain,routegroup,passe
open:0,
text:"",
};
if(data.body[i].num == "0"){
train.text = data.body[i].code+"(无人)";
}else{
train.text = data.body[i].code+"(现有乘客"+data.body[i].num+"人)";
}
train.text = data.body[i].code+"(现有乘客"+data.body[i].num+"人)";
trafficTrain.trainList[train.code] = train;
}
}