Commit 2cc95167 authored by XieZhiXiong's avatar XieZhiXiong

搬运 白名单 判断

parent 426c93cc
......@@ -90,6 +90,10 @@ export function onRouteChange({ routes, matchedRoutes, location, action }) {
return;
}
if (whiteLists.includes(location.pathname)) {
return
}
// 是否登录
if (getAuth()) {
const { query, pathname } = location
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment