Commit 7a3634d8c00a312c3f951b3267aea8d1d3ebfa6d

Authored by puhui999
1 parent 0f7e715b

perf: vben5 utils

yudao-module-infra/src/main/resources/codegen/vue3_vben5_antd/schema/views/data.ts.vm
@@ -3,9 +3,11 @@ import type { OnActionClickFn, VxeTableGridOptions } from '#/adapter/vxe-table'; @@ -3,9 +3,11 @@ import type { OnActionClickFn, VxeTableGridOptions } from '#/adapter/vxe-table';
3 import type { ${simpleClassName}Api } from '#/api/${table.moduleName}/${table.businessName}'; 3 import type { ${simpleClassName}Api } from '#/api/${table.moduleName}/${table.businessName}';
4 4
5 import { z } from '#/adapter/form'; 5 import { z } from '#/adapter/form';
6 -import { getRangePickerDefaultProps } from '#/utils/date';  
7 -import { DICT_TYPE, getDictOptions } from '#/utils/dict';  
8 - 6 +import {
  7 + DICT_TYPE,
  8 + getDictOptions,
  9 + getRangePickerDefaultProps,
  10 +} from '#/utils';
9 #if(${table.templateType} == 2)## 树表需要导入这些 11 #if(${table.templateType} == 2)## 树表需要导入这些
10 import { get${simpleClassName}List } from '#/api/${table.moduleName}/${table.businessName}'; 12 import { get${simpleClassName}List } from '#/api/${table.moduleName}/${table.businessName}';
11 import { handleTree } from '@vben/utils'; 13 import { handleTree } from '@vben/utils';