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 3 import type { ${simpleClassName}Api } from '#/api/${table.moduleName}/${table.businessName}';
4 4  
5 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 11 #if(${table.templateType} == 2)## 树表需要导入这些
10 12 import { get${simpleClassName}List } from '#/api/${table.moduleName}/${table.businessName}';
11 13 import { handleTree } from '@vben/utils';
... ...