diff --git a/src/router/index.ts b/src/router/index.ts index db4b0b17..7466a6b4 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -139,7 +139,8 @@ router.beforeEach((to, from, next) => { const token = getToken(); // 获取系统配置信息 const appStore = useAppStore(); - if (!appStore.filePathIcon) { + console.log(appStore.loginBackground) + if (!appStore.loginBackground) { appStore.fnSysConf(); }