Commit b695e038ea3172fe70ef1540288a7724a74d8ecd

Authored by zhiyangdu
1 parent 1801883b

兑换记录跳转到订单详情页返回时刷新接口

src/pages/pointsExchangeRecords/pointsExchangeRecords.vue
... ... @@ -284,7 +284,10 @@ export default {
284 284 document.addEventListener('visibilitychange', () => {
285 285 // 页面显示出来了
286 286 if (document.hidden === false) {
287   - window.location.reload();//刷新
  287 + this.list = []; // 中奖记录列表
  288 + this.page = 0;
  289 + this.isMore =1; // 0没有更多1有更多
  290 + this.loadMore();
288 291 }
289 292 });
290 293 }
... ...