fix: 重复获取系统配置信息

This commit is contained in:
TsMask
2023-10-30 18:34:54 +08:00
parent bb7618905e
commit 44ca068b1e

View File

@@ -139,7 +139,8 @@ router.beforeEach((to, from, next) => {
const token = getToken(); const token = getToken();
// 获取系统配置信息 // 获取系统配置信息
const appStore = useAppStore(); const appStore = useAppStore();
if (!appStore.filePathIcon) { console.log(appStore.loginBackground)
if (!appStore.loginBackground) {
appStore.fnSysConf(); appStore.fnSysConf();
} }