Skip to content

Commit f23df92

Browse files
author
piexlMax(奇淼
committed
feat: 调整获取logo的方式
1 parent 41d9453 commit f23df92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/src/components/logo/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ const props = defineProps({
1111
}
1212
})
1313
14-
const darkLogoPath = '/logo-dark.png';
15-
const lightLogoPath = '/logo.png';
14+
import darkLogoPath from "/public/logo.png"; // 系统没有暗黑模式logo,如果需要暗黑模式logo请自行修改文件路径。
15+
import lightLogoPath from "/public/logo.png";
1616
1717
const appStore = useAppStore();
1818
const { isDark } = storeToRefs(appStore);

0 commit comments

Comments
 (0)