修改问题

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

@ -9,5 +9,5 @@ export default function WxpayH5({ params }) {
const redirect_uri = decodeURIComponent(params.url);
router.replace(redirect_uri);
}, []);
return <section className="bg-white"></section>;
return <section className="bg-white"> </section>;
}

View File

@ -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) {