mirror of
https://gitcode.com/flipped-aurora/gin-vue-admin.git
synced 2025-12-30 03:42:26 +00:00
feat: 调整获取logo的方式
This commit is contained in:
@@ -11,8 +11,8 @@ const props = defineProps({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
const darkLogoPath = '/logo-dark.png';
|
import darkLogoPath from "/public/logo.png"; // 系统没有暗黑模式logo,如果需要暗黑模式logo请自行修改文件路径。
|
||||||
const lightLogoPath = '/logo.png';
|
import lightLogoPath from "/public/logo.png";
|
||||||
|
|
||||||
const appStore = useAppStore();
|
const appStore = useAppStore();
|
||||||
const { isDark } = storeToRefs(appStore);
|
const { isDark } = storeToRefs(appStore);
|
||||||
|
|||||||
Reference in New Issue
Block a user