perf: utils 统一导出

This commit is contained in:
xingyu4j
2025-05-06 23:23:42 +08:00
parent 6b1714f4ed
commit 6ff4c3b99d
77 changed files with 147 additions and 137 deletions

View File

@@ -11,7 +11,7 @@ import { message } from 'ant-design-vue';
import { useVbenForm, z } from '#/adapter/form';
import { updateUserProfile } from '#/api/system/user/profile';
import { DICT_TYPE, getDictOptions } from '#/utils/dict';
import { DICT_TYPE, getDictOptions } from '#/utils';
const props = defineProps<{
profile?: SystemUserProfileApi.UserProfileRespVO;

View File

@@ -17,8 +17,7 @@ import {
socialUnbind,
} from '#/api/system/social/user';
import { $t } from '#/locales';
import { SystemUserSocialTypeEnum } from '#/utils/constants';
import { DICT_TYPE, getDictLabel } from '#/utils/dict';
import { DICT_TYPE, getDictLabel, SystemUserSocialTypeEnum } from '#/utils';
const emit = defineEmits<{
(e: 'update:activeName', v: string): void;