From 16e5a3cc02bec2d626e7acbbea0febc92fbd12a8 Mon Sep 17 00:00:00 2001 From: al Date: Wed, 24 Jul 2024 13:45:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9currentBaseCode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/bill/[type]/page.jsx | 2 +- app/pay/page.jsx | 2 +- app/vip/page.jsx | 2 +- app/zone/pay/[zid]/[product_id]/[moment_id]/page.jsx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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}; }