diff --git a/src/App.vue b/src/App.vue index 3f554c2cc6dd0c00a7331b44660c6ba6f1c30b54..5d7fad2417fb04209761d32c254afba51316f233 100644 --- a/src/App.vue +++ b/src/App.vue @@ -71,8 +71,9 @@ import ActionBar from '@/components/ActionBar.vue' import CodeModal from '@/components/CodeModal.vue' import Configurator from '@/components/Configurator.vue' import DownloadModal from '@/components/DownloadModal.vue' -import type { VueColorAvatarRef } from '@/components/VueColorAvatar.vue' -import VueColorAvatar from '@/components/VueColorAvatar.vue' +import VueColorAvatar, { + type VueColorAvatarRef, +} from '@/components/VueColorAvatar.vue' import { ActionType } from '@/enums' import { useAvatarOption } from '@/hooks' import Container from '@/layouts/Container.vue' diff --git a/src/components/Configurator.vue b/src/components/Configurator.vue index 35ffc31370515a5f64fe92f0095d28a2d83edf73..40ee789e5ea038c7f6d213a12e2193a20c5bbeb6 100644 --- a/src/components/Configurator.vue +++ b/src/components/Configurator.vue @@ -70,8 +70,7 @@ import { useI18n } from 'vue-i18n' import PerfectScrollbar from '@/components/PerfectScrollbar.vue' import SectionWrapper from '@/components/SectionWrapper.vue' -import type { WidgetShape, WrapperShape } from '@/enums' -import { WidgetType } from '@/enums' +import { type WidgetShape, type WrapperShape, WidgetType } from '@/enums' import { useAvatarOption } from '@/hooks' import { SETTINGS } from '@/utils/constant' import { previewData } from '@/utils/dynamic-data' diff --git a/src/components/VueColorAvatar.vue b/src/components/VueColorAvatar.vue index cf2570f7c0fbb19fb94d40ad95f4ab6ed3dbe0bc..eeee0a0c5bae98032c449013f696d16b170e4332 100644 --- a/src/components/VueColorAvatar.vue +++ b/src/components/VueColorAvatar.vue @@ -24,7 +24,7 @@ export interface VueColorAvatarRef { import { ref, toRefs, watchEffect } from 'vue' import { WrapperShape } from '@/enums' -import type { AvatarOption } from '@/types' +import { type AvatarOption } from '@/types' import { getRandomAvatarOption } from '@/utils' import { AVATAR_LAYER, NONE } from '@/utils/constant' import { widgetData } from '@/utils/dynamic-data' diff --git a/src/components/widgets/Background.vue b/src/components/widgets/Background.vue index 8f3e9a0e2cbfbca010b4d07565bc059e12b49d05..b4715da032d851bfa7eaea0f1030e0fcf0af150d 100644 --- a/src/components/widgets/Background.vue +++ b/src/components/widgets/Background.vue @@ -3,7 +3,7 @@