forked from github/dataease
fix: 偶尔出现登录后需要刷新一次才能进入页面
This commit is contained in:
parent
861144e183
commit
c1b1de8e98
@ -95,6 +95,9 @@ export const pathValid = path => {
|
||||
* @returns
|
||||
*/
|
||||
const hasCurrentRouter = (locations, routers, index) => {
|
||||
if (!routers?.length) {
|
||||
return false
|
||||
}
|
||||
const location = locations[index]
|
||||
let kids = []
|
||||
const isvalid = routers.some(router => {
|
||||
|
Loading…
Reference in New Issue
Block a user