jufubao-base 1.0.158-beta8 → 1.0.158-beta9

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.158-beta8",
3
+ "version": "1.0.158-beta9",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -204,11 +204,13 @@ export default {
204
204
  time: 2000,
205
205
  isClose: false,
206
206
  });
207
- this.getDialogList();
208
- if (this.timer) {
209
- this.timeNum = 0;
210
- clearTimeout(this.timer);
211
- }
207
+ setTimeout(()=>{
208
+ this.getDialogList();
209
+ if (this.timer) {
210
+ this.timeNum = 0;
211
+ clearTimeout(this.timer);
212
+ }
213
+ },2000)
212
214
  return;
213
215
  }
214
216
  if (res.status_type === "error") {
@@ -219,13 +221,15 @@ export default {
219
221
  time: 2000,
220
222
  isClose: false,
221
223
  });
222
- if (res.code === 400) {
223
- this.getDialogList();
224
- }
225
- if (this.timer) {
226
- this.timeNum = 0;
227
- clearTimeout(this.timer);
228
- }
224
+ setTimeout(()=>{
225
+ if (res.code === 400) {
226
+ this.getDialogList();
227
+ }
228
+ if (this.timer) {
229
+ this.timeNum = 0;
230
+ clearTimeout(this.timer);
231
+ }
232
+ },2000)
229
233
  return;
230
234
  }
231
235
 
@@ -340,7 +344,9 @@ export default {
340
344
  time: 2000,
341
345
  isClose: false,
342
346
  });
343
- this.getDialogList();
347
+ setTimeout(()=>{
348
+ this.getDialogList();
349
+ },2000)
344
350
  return;
345
351
  }
346
352
  this.order_num = res.tmp_order_number;
@@ -605,12 +605,14 @@ export default {
605
605
  time: 2000,
606
606
  isClose: false,
607
607
  });
608
- this.getList();
609
- this.btn_txt = "去查看";
610
- if (this.timeer) {
611
- this.time = 0;
612
- clearTimeout(this.timeer);
613
- }
608
+ setTimeout(()=>{
609
+ this.getList();
610
+ this.btn_txt = "去查看";
611
+ if (this.timeer) {
612
+ this.time = 0;
613
+ clearTimeout(this.timeer);
614
+ }
615
+ },2000)
614
616
  return;
615
617
  }
616
618
  if (res.status_type === "error") {
@@ -621,13 +623,15 @@ export default {
621
623
  time: 2000,
622
624
  isClose: false,
623
625
  });
624
- if (res.code == 400) {
626
+ setTimeout(()=>{
627
+ if (res.code == 400) {
625
628
  this.getList();
626
- }
627
- if (this.timeer) {
628
- this.time = 0;
629
- clearTimeout(this.timeer);
630
- }
629
+ }
630
+ if (this.timeer) {
631
+ this.time = 0;
632
+ clearTimeout(this.timeer);
633
+ }
634
+ },2000)
631
635
  return;
632
636
  }
633
637