diff --git a/coupon/myOrder.html b/coupon/myOrder.html
index ed945e6..46aaef8 100644
--- a/coupon/myOrder.html
+++ b/coupon/myOrder.html
@@ -134,6 +134,10 @@
this.goodsCount = localStorage.getItem('goodsCount');
this.scrollTop =
document.documentElement.scrollTop || document.body.scrollTop;
+
+ window.addEventListener('pageshow', () => {
+ !this.loadShowHeight && this.getOrderList();
+ });
},
methods: {
@@ -182,7 +186,7 @@
/* 查看卡密 */
lookCard (item) {
sessionStorage.setItem("orderNumber", item.order_number);
- window.location.href = './orderDetails/cardOrder.html';
+ window.location.href = '../orderDetails/cardOrder.html';
},
/*跳转详情*/
diff --git a/order.html b/order.html
index cadb0cc..061eeab 100644
--- a/order.html
+++ b/order.html
@@ -119,6 +119,10 @@
this.goodsCount = Number(sessionStorage.getItem("goodsCount"));
this.scrollTop =
document.documentElement.scrollTop || document.body.scrollTop;
+
+ window.addEventListener('pageshow', () => {
+ !this.loadShowHeight && this.getOrderList();
+ });
},
methods: {