修改currentBaseCode

This commit is contained in:
al 2024-07-24 13:45:07 +08:00
parent 8a0d02179a
commit 16e5a3cc02
4 changed files with 4 additions and 4 deletions

View File

@ -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};
}

View File

@ -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};
}

View File

@ -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};
}

View File

@ -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};
}