jufubao-base 1.0.73-beta2 → 1.0.73-beta3

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.73-beta2",
3
+ "version": "1.0.73-beta3",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -338,7 +338,7 @@ export default {
338
338
  });
339
339
  this.getList();
340
340
  if (this.timeer) {
341
- this.time = 1;
341
+ this.time = 0;
342
342
  clearTimeout(this.timeer);
343
343
  }
344
344
  return;
@@ -355,19 +355,21 @@ export default {
355
355
  this.getList();
356
356
  }
357
357
  if (this.timeer) {
358
- this.time = 1;
358
+ this.time = 0;
359
359
  clearTimeout(this.timeer);
360
360
  }
361
361
  return;
362
362
  }
363
- this.time++;
363
+
364
364
  this.timeer = setTimeout(() => {
365
365
  this.getResult();
366
- if (this.time > 5)
366
+ if (this.time > 5) {
367
367
  this.$xdLog.setARMSInfo(
368
368
  { message: "领取中" },
369
369
  `pay_${res.status_type}`
370
370
  );
371
+ }
372
+ this.time++;
371
373
  }, Math.pow(this.date, this.time > this.maxTime ? this.maxTime : this.time) * 1000);
372
374
  })
373
375
  .catch((err) => {
@@ -596,14 +596,15 @@ export default {
596
596
  }
597
597
 
598
598
  if (this.$xdUniHelper.checkVarType(this.info) === "object") {
599
- this.time++;
600
599
  this.timeer = setTimeout(() => {
601
600
  this.intval();
602
- if (this.time > 5)
601
+ if (this.time > 5){
603
602
  this.$xdLog.setARMSInfo(
604
603
  { message: "进行中" },
605
604
  `pay_${this.info.status.status_type}`
606
605
  );
606
+ }
607
+ this.time++;
607
608
  }, Math.pow(this.date, this.time > this.maxTime ? this.maxTime : this.time) * 1000);
608
609
  }
609
610
  },