mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 13:32:18 +08:00
Merge pull request #6439 from dataease/pr@dev-v2@fix_login_refresh_error
fix: 偶尔出现登录后需要刷新一次才能进入页面
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user