修复出现的问题

This commit is contained in:
al 2024-07-23 19:19:53 +08:00
parent 52ef5f73d7
commit c0c9520fee
4 changed files with 4 additions and 4 deletions

View File

@ -12,7 +12,7 @@ export default function BillDetail({ params }) {
const [isFetching, setIsFetching] = useState(true); const [isFetching, setIsFetching] = useState(true);
const searchParams = useSearchParams(); const searchParams = useSearchParams();
const base = useMemo(()=>{ const base = useMemo(()=>{
let searchParamsObj=null; b let searchParamsObj=null;
if(searchParams.get("b_mid")){ if(searchParams.get("b_mid")){
searchParamsObj={}; searchParamsObj={};
searchParamsObj.b_mid=searchParams.get("b_mid"); searchParamsObj.b_mid=searchParams.get("b_mid");

View File

@ -45,7 +45,7 @@ export default function Pay() {
// //
const [isFetching, setIsFetching] = useState(true); const [isFetching, setIsFetching] = useState(true);
const base = useMemo(()=>{ const base = useMemo(()=>{
let searchParamsObj=null; b let searchParamsObj=null;
if(searchParams.get("b_mid")){ if(searchParams.get("b_mid")){
searchParamsObj={}; searchParamsObj={};
searchParamsObj.b_mid=searchParams.get("b_mid"); searchParamsObj.b_mid=searchParams.get("b_mid");

View File

@ -24,7 +24,7 @@ export default function Vip() {
const [name, setName] = useState(""); const [name, setName] = useState("");
const [isFetching, setIsFetching] = useState(true); const [isFetching, setIsFetching] = useState(true);
const base = useMemo(()=>{ const base = useMemo(()=>{
let searchParamsObj=null; b let searchParamsObj=null;
if(searchParams.get("b_mid")){ if(searchParams.get("b_mid")){
searchParamsObj={}; searchParamsObj={};
searchParamsObj.b_mid=searchParams.get("b_mid"); searchParamsObj.b_mid=searchParams.get("b_mid");

View File

@ -17,7 +17,7 @@ export default function Pay({ params }) {
const [superfanshipData, setSuperfanshipData] = useState(); const [superfanshipData, setSuperfanshipData] = useState();
const [isFetching, setIsFetching] = useState(true); const [isFetching, setIsFetching] = useState(true);
const base = useMemo(()=>{ const base = useMemo(()=>{
let searchParamsObj=null; b let searchParamsObj=null;
if(searchParams.get("b_mid")){ if(searchParams.get("b_mid")){
searchParamsObj={}; searchParamsObj={};
searchParamsObj.b_mid=searchParams.get("b_mid"); searchParamsObj.b_mid=searchParams.get("b_mid");