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

Merge pull request !83 from puhui999/dev-tmp
This commit is contained in:
芋道源码
2025-04-25 15:05:56 +00:00
committed by Gitee
13 changed files with 583 additions and 39 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 = [];