diff --git a/web/src/components/logo/index.vue b/web/src/components/logo/index.vue index 88c335b5a..5d2ab501b 100644 --- a/web/src/components/logo/index.vue +++ b/web/src/components/logo/index.vue @@ -11,8 +11,8 @@ const props = defineProps({ } }) -const darkLogoPath = '/logo-dark.png'; -const lightLogoPath = '/logo.png'; +import darkLogoPath from "/public/logo.png"; // 系统没有暗黑模式logo,如果需要暗黑模式logo请自行修改文件路径。 +import lightLogoPath from "/public/logo.png"; const appStore = useAppStore(); const { isDark } = storeToRefs(appStore);