fix(路由守卫): 修复地图页进不去的问题
This commit is contained in:
parent
587018eed8
commit
737ff22320
@ -398,11 +398,12 @@ class RouteGuard {
|
|||||||
const publicPages = [
|
const publicPages = [
|
||||||
PAGES.APPLY, // 申请页面 - 重要:申请页面不需要权限检查
|
PAGES.APPLY, // 申请页面 - 重要:申请页面不需要权限检查
|
||||||
PAGES.NOT_APP, // 错误页面 - APP连接失败时的页面
|
PAGES.NOT_APP, // 错误页面 - APP连接失败时的页面
|
||||||
|
PAGES.MAP, // 地图选择页面
|
||||||
'/404', // 404页面
|
'/404', // 404页面
|
||||||
'/error', // 通用错误页面
|
'/error', // 通用错误页面
|
||||||
'/recharge',
|
'/recharge',
|
||||||
'/recharge-freight-agent',
|
'/recharge-freight-agent',
|
||||||
'/pay-result'
|
'/pay-result',
|
||||||
]
|
]
|
||||||
return publicPages.includes(path)
|
return publicPages.includes(path)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user