修改问题
This commit is contained in:
parent
90ffae5810
commit
68cf8e00a5
|
@ -23,7 +23,7 @@ export default function WithAuth(WrappedComponent) {
|
|||
const checkLogin = async () => {
|
||||
const hasToken = await get("token");
|
||||
// console.log("hasToken", hasToken);
|
||||
if(pathname.includes("test")){
|
||||
if(pathname.includes("wxpay_h5")){
|
||||
return
|
||||
}
|
||||
if (hasToken) {
|
||||
|
|
Loading…
Reference in New Issue