Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/jl-client into test
This commit is contained in:
commit
2525d57f8f
@ -52,6 +52,10 @@ class TransformHandle {
|
|||||||
const stand = store.getters['map/getDeviceByCode'](view.model.standCode);
|
const stand = store.getters['map/getDeviceByCode'](view.model.standCode);
|
||||||
const station = store.getters['map/getDeviceByCode'](stand.stationCode);
|
const station = store.getters['map/getDeviceByCode'](stand.stationCode);
|
||||||
this.handleStationViewTransform(view, station);
|
this.handleStationViewTransform(view, station);
|
||||||
|
} else if (view.model && view.model._type === 'Train' && view.model.sectionModel) {
|
||||||
|
const belongStation = view.model.sectionModel.belongStation;
|
||||||
|
const station = store.getters['map/getDeviceByCode'](belongStation);
|
||||||
|
this.handleStationViewTransform(view, station);
|
||||||
} else if (view.model && (view.model.belongStation || view.model.belongStationCode)) {
|
} else if (view.model && (view.model.belongStation || view.model.belongStationCode)) {
|
||||||
const belongStation = view.model.belongStation || view.model.belongStationCode;
|
const belongStation = view.model.belongStation || view.model.belongStationCode;
|
||||||
const station = store.getters['map/getDeviceByCode'](belongStation);
|
const station = store.getters['map/getDeviceByCode'](belongStation);
|
||||||
|
Loading…
Reference in New Issue
Block a user