From 12885a260372a44c63ed0179a1abafba3d131217 Mon Sep 17 00:00:00 2001 From: wwp <782568523@qq.com> Date: Thu, 31 Oct 2024 11:30:35 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/userManage/dormitory/components/form/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SafeCampus.WEB/src/views/userManage/dormitory/components/form/index.vue b/SafeCampus.WEB/src/views/userManage/dormitory/components/form/index.vue index ba6f738..9c9a221 100644 --- a/SafeCampus.WEB/src/views/userManage/dormitory/components/form/index.vue +++ b/SafeCampus.WEB/src/views/userManage/dormitory/components/form/index.vue @@ -74,7 +74,7 @@ const rules = reactive({ function onOpen(props: FormProps.Base) { Object.assign(SysDormitoryProps, props); //合并参数 visibleChamber.value = true; //显示表单 - SysDormitoryProps.record = props.record; + SysDormitoryProps.record = JSON.parse(JSON.stringify(props.record)); } // 提交数据(新增/编辑)