画面管理问题调整

This commit is contained in:
fan 2022-08-15 15:09:40 +08:00
parent 0228f45131
commit 66230e8cbf

View File

@ -137,7 +137,8 @@ export default {
this.editModel = { code: '', pictureHide: false, position: {x:0, y:0} }; this.editModel = { code: '', pictureHide: false, position: {x:0, y:0} };
}, },
deviceChange(val) { deviceChange(val) {
this.deviceSelect(val); const device = this.$store.getters['map/getDeviceByCode'](val);
this.deviceSelect(device);
} }
} }
}; };