From b47308cd7183fd1c09cbca1fa02709674ef89207 Mon Sep 17 00:00:00 2001 From: CityFun <31820853+zhengkunwang223@users.noreply.github.com> Date: Fri, 16 May 2025 11:15:11 +0800 Subject: [PATCH] feat: update WebsiteTypes usage (#8687) --- frontend/src/views/website/website/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/website/website/index.vue b/frontend/src/views/website/website/index.vue index 4947d18ab..31aa19394 100644 --- a/frontend/src/views/website/website/index.vue +++ b/frontend/src/views/website/website/index.vue @@ -315,7 +315,7 @@ import { useI18n } from 'vue-i18n'; import { getAgentGroupList } from '@/api/modules/group'; import { Group } from '@/api/interface/group'; import { GlobalStore } from '@/store'; -import { WebsiteTypes } from '@/global/mimetype'; +import { getWebsiteTypes } from '@/global/mimetype'; const globalStore = GlobalStore(); const shortcuts = [ @@ -334,7 +334,7 @@ const shortcuts = [ }, }, ]; - +const WebsiteTypes = getWebsiteTypes(); const loading = ref(false); const maskShow = ref(true); const createRef = ref();