review:代码生成优化

This commit is contained in:
YunaiV
2025-04-19 10:18:54 +08:00
parent eea46a1920
commit 7622e9a666
4 changed files with 15 additions and 9 deletions

View File

@@ -389,6 +389,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
}
/** 列表的字段 */
// TODO @puhui999getDataSourceConfigName要不改成 data.ts 加载 list然后使用。
export function useGridColumns<T = InfraCodegenApi.CodegenTable>(
onActionClick: OnActionClickFn<T>,
getDataSourceConfigName: ComputedRef<(cellValue: number) => string>,