diff --git a/app/bill/[type]/page.jsx b/app/bill/[type]/page.jsx index cb685b1..2d88c33 100644 --- a/app/bill/[type]/page.jsx +++ b/app/bill/[type]/page.jsx @@ -14,7 +14,7 @@ export default function BillDetail({ params }) { const getBase = useCallback((webviewBase)=>{ let searchParamsObj=null; let currentBaseCode = searchParams.get("base") - if(currentBase){ + if(currentBaseCode){ let currentBase = decodeURIComponent(currentBaseCode); searchParamsObj={...currentBase}; } diff --git a/app/pay/page.jsx b/app/pay/page.jsx index 343ad6f..3101249 100644 --- a/app/pay/page.jsx +++ b/app/pay/page.jsx @@ -47,7 +47,7 @@ export default function Pay() { const getBase = useCallback((webviewBase)=>{ let searchParamsObj=null; let currentBaseCode = searchParams.get("base") - if(currentBase){ + if(currentBaseCode){ let currentBase = decodeURIComponent(currentBaseCode); searchParamsObj={...currentBase}; } diff --git a/app/vip/page.jsx b/app/vip/page.jsx index 1343ea6..4da7c99 100644 --- a/app/vip/page.jsx +++ b/app/vip/page.jsx @@ -27,7 +27,7 @@ export default function Vip() { const getBase = useCallback((webviewBase)=>{ let searchParamsObj=null; let currentBaseCode = searchParams.get("base") - if(currentBase){ + if(currentBaseCode){ let currentBase = decodeURIComponent(currentBaseCode); searchParamsObj={...currentBase}; } diff --git a/app/zone/pay/[zid]/[product_id]/[moment_id]/page.jsx b/app/zone/pay/[zid]/[product_id]/[moment_id]/page.jsx index f993794..d91cb4f 100644 --- a/app/zone/pay/[zid]/[product_id]/[moment_id]/page.jsx +++ b/app/zone/pay/[zid]/[product_id]/[moment_id]/page.jsx @@ -19,7 +19,7 @@ export default function Pay({ params }) { const getBase = useCallback((webviewBase)=>{ let searchParamsObj=null; let currentBaseCode = searchParams.get("base") - if(currentBase){ + if(currentBaseCode){ let currentBase = decodeURIComponent(currentBaseCode); searchParamsObj={...currentBase}; }