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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-third",
3
- "version": "1.0.15",
3
+ "version": "1.0.16-beta1",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件第三方购物平台包",
6
6
  "main": "index.js",
@@ -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({