修改问题

This commit is contained in:
al 2024-08-12 18:13:46 +08:00
parent 90ffae5810
commit 68cf8e00a5
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ export default function WithAuth(WrappedComponent) {
const checkLogin = async () => { const checkLogin = async () => {
const hasToken = await get("token"); const hasToken = await get("token");
// console.log("hasToken", hasToken); // console.log("hasToken", hasToken);
if(pathname.includes("test")){ if(pathname.includes("wxpay_h5")){
return return
} }
if (hasToken) { if (hasToken) {