diff --git a/apps/web-antd/src/views/property/community/community-modal.vue b/apps/web-antd/src/views/property/community/community-modal.vue index a2ffc793..c35956bc 100644 --- a/apps/web-antd/src/views/property/community/community-modal.vue +++ b/apps/web-antd/src/views/property/community/community-modal.vue @@ -64,8 +64,10 @@ const [BasicModal, modalApi] = useVbenModal({ isUpdate.value = !!id; if (isUpdate.value && id) { const record = await communityInfo(id); - await formApi.setValues(record); - + await formApi.setValues({ + ...record, + communityType: String(record.communityType), + }); } setupDeptSelect();