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