refactor: 将枚举和常量从utils移动到constants

This commit is contained in:
xingyu4j
2025-09-04 18:19:49 +08:00
parent d7d445617f
commit 37fba1474e
144 changed files with 255 additions and 245 deletions

View File

@@ -3,7 +3,7 @@
import type { DictItem } from '#/store';
import { DICT_TYPE, isObject } from '@vben/utils';
import { isObject } from '@vben/utils';
import { useDictStore } from '#/store';
@@ -183,9 +183,10 @@ export const deleteDictCache = (dictType: string): void => {
export {
type ColorType,
DICT_TYPE,
type DictValueType,
getDictLabel,
getDictObj,
getDictOptions,
};
export { DICT_TYPE } from '@vben/constants';

View File

@@ -2,4 +2,4 @@ export * from './dict';
export * from './formCreate';
export * from './rangePickerProps';
export * from './routerHelper';
export { CommonStatusEnum } from '@vben/utils';
export { CommonStatusEnum } from '@vben/constants';