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

@@ -1,7 +1,7 @@
// TODO @芋艿:后续再优化
// TODO @芋艿:可以共享么?
import { DICT_TYPE, isObject } from '@vben/utils';
import { isObject } from '@vben/utils';
import { useDictStore } from '#/store';
@@ -140,4 +140,6 @@ export const getBoolDictOptions = (dictType: string) => {
return dictOption;
};
export { DICT_TYPE, getDictLabel, getDictObj, getDictOptions };
export { getDictLabel, getDictObj, getDictOptions };
export { DICT_TYPE } from '@vben/constants';

View File

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