提交代码

pull/1/head
袁野 3 years ago
parent e976ba5a4d
commit 40902424fb
  1. 4
      src/app/admin/recharge-order/order-list/order-list.component.ts

@ -48,6 +48,7 @@ export class OrderListComponent implements OnInit , OnDestroy {
this.init();
this.timer = setInterval(() => { // 设置定时刷新事件,每隔1分钟刷新
this.recharge.countOrder(data => {
if (data['return_data'] > 0) {
this.getRequest(true, this.searchForm.value);
this.notification.info(
'充值订单',
@ -56,8 +57,9 @@ export class OrderListComponent implements OnInit , OnDestroy {
this.searchForm.value.status = 2;
this.getRequest(true, this.searchForm.value);
});
}
});
}, 10000);
}, 5000);
}
// 销毁

Loading…
Cancel
Save