From b8410224016608dbd5101f9c6e7b150de59e090a Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Wed, 23 Jun 2021 13:52:22 +0800 Subject: [PATCH] =?UTF-8?q?zc=20=E7=BB=98=E5=9B=BE=20=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/newMap/newMapdraft/mapoperate/zcControl.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/views/newMap/newMapdraft/mapoperate/zcControl.vue b/src/views/newMap/newMapdraft/mapoperate/zcControl.vue index 0f5c7a72f..ea5855a10 100644 --- a/src/views/newMap/newMapdraft/mapoperate/zcControl.vue +++ b/src/views/newMap/newMapdraft/mapoperate/zcControl.vue @@ -176,7 +176,16 @@ export default { } else if (selected && selected._type.toUpperCase() === 'ZcControl'.toUpperCase()) { this.$refs.dataform && this.$refs.dataform.resetFields(); this.activeName = 'first'; - this.editModel = deepAssign(this.editModel, selected); + // this.editModel = deepAssign({}, selected); + this.editModel = { + code: selected.code, + name: selected.name, + managedSectionList:selected.managedSectionList || [], + position: Object.assign({}, selected.position) + }; + // this.editModel + // if (this.editModel.concentrateStationList) { delete this.editModel.concentrateStationList; } + // if (!this.editModel.managedSectionList) { this.editModel.managedSectionList = []; } } }, clear() {