jufubao-third 1.0.15 → 1.0.16
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
|
@@ -263,6 +263,16 @@ export default {
|
|
|
263
263
|
data: postData
|
|
264
264
|
}).then(res => {
|
|
265
265
|
this.$xdHideLoading();
|
|
266
|
+
|
|
267
|
+
// #ifdef H5
|
|
268
|
+
//需要跳转到第三方支付地址
|
|
269
|
+
if(res['pay_url']) {
|
|
270
|
+
window.location.replace(res['pay_url']);
|
|
271
|
+
return
|
|
272
|
+
}
|
|
273
|
+
//#endif
|
|
274
|
+
|
|
275
|
+
//其他支付模式
|
|
266
276
|
if(successCb) successCb(res);
|
|
267
277
|
if(res.need_pay_price == 0){
|
|
268
278
|
this.$xdUniHelper.redirectTo({
|