13 lines
352 B
JavaScript
13 lines
352 B
JavaScript
"use client";
|
|
|
|
import React, { useEffect } from "react";
|
|
import { useRouter } from "next/navigation";
|
|
|
|
export default function WxpayH5({ params }) {
|
|
const router = useRouter();
|
|
useEffect(() => {
|
|
const redirect_uri = decodeURIComponent(params.url);
|
|
router.replace(redirect_uri);
|
|
}, []);
|
|
return <section className="bg-white"></section>;
|
|
} |