From 9acceacdf0e15ebaa256264dfc684f6e4b77b246 Mon Sep 17 00:00:00 2001 From: fyy <2717885210@qq.com> Date: Tue, 29 Jul 2025 17:23:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=9B=AD=E5=8C=BA=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E7=BC=96=E8=BE=91=E7=A4=BE=E5=8C=BA=E7=B1=BB=E5=9E=8B=E9=94=99?= =?UTF-8?q?=E8=AF=AFbug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/property/community/community-modal.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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();