diff --git a/app/wxpay_h5/[url]/page.js b/app/wxpay_h5/[url]/page.js index ffd7bca..ba284e2 100644 --- a/app/wxpay_h5/[url]/page.js +++ b/app/wxpay_h5/[url]/page.js @@ -9,5 +9,5 @@ export default function WxpayH5({ params }) { const redirect_uri = decodeURIComponent(params.url); router.replace(redirect_uri); }, []); - return
; + return
; } \ No newline at end of file diff --git a/components/WithAuth/index.js b/components/WithAuth/index.js index 7e1f19f..6eda5ab 100644 --- a/components/WithAuth/index.js +++ b/components/WithAuth/index.js @@ -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) {