From 78c7e9aec2e486320c98ce09cd15546a6132098e Mon Sep 17 00:00:00 2001 From: puhui999 Date: Sat, 7 Jun 2025 12:53:03 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E3=80=90antd=E3=80=91=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E7=94=9F=E6=88=90=E5=99=A8=E8=A1=A8=E5=8D=95=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/infra/codegen/modules/generation-info.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/web-antd/src/views/infra/codegen/modules/generation-info.vue b/apps/web-antd/src/views/infra/codegen/modules/generation-info.vue index da859ef2f..3d89656f8 100644 --- a/apps/web-antd/src/views/infra/codegen/modules/generation-info.vue +++ b/apps/web-antd/src/views/infra/codegen/modules/generation-info.vue @@ -69,6 +69,8 @@ function updateTreeSchema(): void { treeFormApi.setState({ schema: useGenerationInfoTreeFormSchema(props.columns), }); + // 树表信息回显 + treeFormApi.setValues(props.table as any); } /** 更新主子表信息表单 schema */ @@ -76,6 +78,8 @@ function updateSubSchema(): void { subFormApi.setState({ schema: useGenerationInfoSubTableFormSchema(props.columns, tables.value), }); + // 主子表信息回显 + subFormApi.setValues(props.table as any); } /** 获取合并的表单值 */