修复错误
This commit is contained in:
parent
56d50eb095
commit
8a0d02179a
|
@ -16,16 +16,7 @@ export default function BillDetail({ params }) {
|
|||
let currentBaseCode = searchParams.get("base")
|
||||
if(currentBase){
|
||||
let currentBase = decodeURIComponent(currentBaseCode);
|
||||
searchParamsObj={};
|
||||
searchParamsObj.b_mid=currentBase.get("b_mid");
|
||||
searchParamsObj.b_did=currentBase.get("b_did");
|
||||
searchParamsObj.b_ver=currentBase.get("b_ver");
|
||||
searchParamsObj.b_dt=currentBase.get("b_dt");
|
||||
searchParamsObj.b_model=currentBase.get("b_model");
|
||||
searchParamsObj.b_nt=currentBase.get("b_nt");
|
||||
searchParamsObj.b_token=currentBase.get("b_token");
|
||||
searchParamsObj.b_ch=currentBase.get("b_ch");
|
||||
searchParamsObj.b_ts=currentBase.get("b_ts");
|
||||
searchParamsObj={...currentBase};
|
||||
}
|
||||
return searchParamsObj || webviewBase;
|
||||
},[searchParams]);
|
||||
|
|
|
@ -49,16 +49,7 @@ export default function Pay() {
|
|||
let currentBaseCode = searchParams.get("base")
|
||||
if(currentBase){
|
||||
let currentBase = decodeURIComponent(currentBaseCode);
|
||||
searchParamsObj={};
|
||||
searchParamsObj.b_mid=currentBase.get("b_mid");
|
||||
searchParamsObj.b_did=currentBase.get("b_did");
|
||||
searchParamsObj.b_ver=currentBase.get("b_ver");
|
||||
searchParamsObj.b_dt=currentBase.get("b_dt");
|
||||
searchParamsObj.b_model=currentBase.get("b_model");
|
||||
searchParamsObj.b_nt=currentBase.get("b_nt");
|
||||
searchParamsObj.b_token=currentBase.get("b_token");
|
||||
searchParamsObj.b_ch=currentBase.get("b_ch");
|
||||
searchParamsObj.b_ts=currentBase.get("b_ts");
|
||||
searchParamsObj={...currentBase};
|
||||
}
|
||||
return searchParamsObj || webviewBase;
|
||||
},[searchParams]);
|
||||
|
|
|
@ -29,16 +29,7 @@ export default function Vip() {
|
|||
let currentBaseCode = searchParams.get("base")
|
||||
if(currentBase){
|
||||
let currentBase = decodeURIComponent(currentBaseCode);
|
||||
searchParamsObj={};
|
||||
searchParamsObj.b_mid=currentBase.get("b_mid");
|
||||
searchParamsObj.b_did=currentBase.get("b_did");
|
||||
searchParamsObj.b_ver=currentBase.get("b_ver");
|
||||
searchParamsObj.b_dt=currentBase.get("b_dt");
|
||||
searchParamsObj.b_model=currentBase.get("b_model");
|
||||
searchParamsObj.b_nt=currentBase.get("b_nt");
|
||||
searchParamsObj.b_token=currentBase.get("b_token");
|
||||
searchParamsObj.b_ch=currentBase.get("b_ch");
|
||||
searchParamsObj.b_ts=currentBase.get("b_ts");
|
||||
searchParamsObj={...currentBase};
|
||||
}
|
||||
return searchParamsObj || webviewBase;
|
||||
},[searchParams]);
|
||||
|
|
|
@ -21,16 +21,7 @@ export default function Pay({ params }) {
|
|||
let currentBaseCode = searchParams.get("base")
|
||||
if(currentBase){
|
||||
let currentBase = decodeURIComponent(currentBaseCode);
|
||||
searchParamsObj={};
|
||||
searchParamsObj.b_mid=currentBase.get("b_mid");
|
||||
searchParamsObj.b_did=currentBase.get("b_did");
|
||||
searchParamsObj.b_ver=currentBase.get("b_ver");
|
||||
searchParamsObj.b_dt=currentBase.get("b_dt");
|
||||
searchParamsObj.b_model=currentBase.get("b_model");
|
||||
searchParamsObj.b_nt=currentBase.get("b_nt");
|
||||
searchParamsObj.b_token=currentBase.get("b_token");
|
||||
searchParamsObj.b_ch=currentBase.get("b_ch");
|
||||
searchParamsObj.b_ts=currentBase.get("b_ts");
|
||||
searchParamsObj={...currentBase};
|
||||
}
|
||||
return searchParamsObj || webviewBase;
|
||||
},[searchParams]);
|
||||
|
|
Loading…
Reference in New Issue