修改currentBaseCode
This commit is contained in:
parent
8a0d02179a
commit
16e5a3cc02
|
@ -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};
|
||||
}
|
||||
|
|
|
@ -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};
|
||||
}
|
||||
|
|
|
@ -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};
|
||||
}
|
||||
|
|
|
@ -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};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue