refactor: 将枚举和常量从utils移动到constants
This commit is contained in:
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user