jufubao-base 1.0.119-beta21 → 1.0.119-beta22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -397,9 +397,7 @@ export default {
|
|
|
397
397
|
// #endif
|
|
398
398
|
data['pay_success_url'] += this.getSuccessUrl + `?order_id=${this.main_order_id}`;
|
|
399
399
|
}
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
400
|
+
console.warn(`setThirdPlace.data:${data}`);
|
|
403
401
|
jfbRootExec("setThirdPlace", {
|
|
404
402
|
vm: this,
|
|
405
403
|
data,
|
|
@@ -408,10 +406,13 @@ export default {
|
|
|
408
406
|
this.$xdHideLoading();
|
|
409
407
|
// #ifdef H5
|
|
410
408
|
if(res && res.payment_type === 'url') {
|
|
409
|
+
console.warn(`setThirdPlace.type:url`);
|
|
410
|
+
console.warn(`setThirdPlace.res.${res.payment_url}`);
|
|
411
411
|
window.location.replace(res.payment_url);
|
|
412
412
|
return
|
|
413
413
|
}
|
|
414
414
|
// #endif
|
|
415
|
+
console.warn(`setThirdPlace.type:slef`);
|
|
415
416
|
const { channel_data } = res;
|
|
416
417
|
const paySignData = JSON.parse(Base64.decode(channel_data));
|
|
417
418
|
this.openTemplatePay(paySignData, (ps) => {
|