feat: 调整获取logo的方式
This commit is contained in:
parent
41d9453110
commit
f23df92c18
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue