jufubao-base 1.0.52-beta1 → 1.0.52

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-base",
3
- "version": "1.0.52-beta1",
3
+ "version": "1.0.52",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -247,7 +247,11 @@ export default {
247
247
  this.type = options.type;
248
248
  this.p_getPayOrderDetail();
249
249
  this.p_getListUserPayChannel();
250
- this.p_getBaseOrderDetail();
250
+
251
+ //充值不进行检查订单状态
252
+ if(this.type !== 'recharge') {
253
+ this.p_getBaseOrderDetail();
254
+ }
251
255
  },
252
256
  /**
253
257
  * @description 监听事件变化
@@ -74,6 +74,7 @@ export default {
74
74
  card_point: "",
75
75
  payPath: "",
76
76
  amount: "",
77
+ timer:null
77
78
  };
78
79
  },
79
80
  watch: {
@@ -81,10 +82,12 @@ export default {
81
82
  this.init(value);
82
83
  },
83
84
  card_point(value) {
84
- console.log(value, "dasdsada");
85
- if (value&&value!=0) {
86
- this.handleGetPrice();
87
- }
85
+ if(this.timer) clearTimeout(this.timer);
86
+ this.timer = setTimeout(()=>{
87
+ if (value && value != 0) {
88
+ this.handleGetPrice();
89
+ }
90
+ }, 500)
88
91
  },
89
92
  },
90
93
  created() {