feat: 新增 antd 模式的代码生成示例

This commit is contained in:
puhui999
2025-04-25 18:22:56 +08:00
parent e519bff27c
commit db86dfc8c5
8 changed files with 373 additions and 1 deletions

View File

@@ -64,7 +64,7 @@ function getDictObj(dictType: string, value: any) {
function getDictOptions(
dictType: string,
valueType: 'boolean' | 'number' | 'string' = 'string',
) {
): any[] {
const dictStore = useDictStore();
const dictOpts = dictStore.getDictOptions(dictType);
const dictOptions: DefaultOptionType = [];