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)); } // 提交数据(新增/编辑)