删除逻辑对应车次窗
This commit is contained in:
parent
e9713fc471
commit
9c0d69e81e
@ -74,6 +74,9 @@ export default {
|
|||||||
this.editModel.logicSectionCodeList.forEach(logicCode => {
|
this.editModel.logicSectionCodeList.forEach(logicCode => {
|
||||||
const section = this.$store.getters['map/getDeviceByCode'](logicCode);
|
const section = this.$store.getters['map/getDeviceByCode'](logicCode);
|
||||||
models.push(deepAssign(section, {_dispose: true}));
|
models.push(deepAssign(section, {_dispose: true}));
|
||||||
|
|
||||||
|
const trainWindowModel = this.$store.getters['map/getDeviceByCode'](section.trainWindowCode);
|
||||||
|
models.push(deepAssign(trainWindowModel, {_dispose: true}));
|
||||||
});
|
});
|
||||||
if (this.logicNum === 0) {
|
if (this.logicNum === 0) {
|
||||||
logicSectionCodeList = [];
|
logicSectionCodeList = [];
|
||||||
|
Loading…
Reference in New Issue
Block a user