This commit is contained in:
qsh
2025-05-19 11:38:58 +08:00
parent 3e8a9220f6
commit ab4d644526

View File

@@ -33,8 +33,12 @@ router.beforeEach(async (to, from, next) => {
if (to.path === '/login') {
if (to.query?.tenantId && to.query?.appId) {
setApp(to.query.tenantId, to.query.appId)
setTimeout(() => {
next({ path: '/' })
}, 1500)
} else {
next({ path: '/' })
}
next({ path: '/' })
} else {
// 获取所有字典
const dictStore = useDictStoreWithOut()