修改问题
This commit is contained in:
parent
90ffae5810
commit
68cf8e00a5
|
@ -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>;
|
||||
}
|
|
@ -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