refactor: 破坏性重构,将枚举类由 utils 提取到 @vben/utils

This commit is contained in:
xingyu4j
2025-09-03 16:08:40 +08:00
parent 25468bece5
commit e6f76c097d
143 changed files with 477 additions and 1343 deletions

View File

@@ -6,7 +6,7 @@ import { computed, onMounted, ref } from 'vue';
import { useRoute } from 'vue-router';
import { confirm } from '@vben/common-ui';
import { getUrlValue } from '@vben/utils';
import { getUrlValue, SystemUserSocialTypeEnum } from '@vben/utils';
import { ElButton, ElCard, ElImage, ElMessage } from 'element-plus';
@@ -18,7 +18,7 @@ import {
socialUnbind,
} from '#/api/system/social/user';
import { $t } from '#/locales';
import { DICT_TYPE, getDictLabel, SystemUserSocialTypeEnum } from '#/utils';
import { DICT_TYPE, getDictLabel } from '#/utils';
const emit = defineEmits<{
(e: 'update:activeName', v: string): void;