sc
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user