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