fix: 【antd】代码生成器表单优化

pull/133/head
puhui999 2025-06-07 12:53:03 +08:00
parent 7dced16ca6
commit 78c7e9aec2
1 changed files with 4 additions and 0 deletions

View File

@ -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);
}
/** 获取合并的表单值 */