Commit b84f011b14a3dc4c07f0bc087fc9f0e205a1745a
1 parent
d6002798
兑换记录返回的时候刷新页面
Showing
1 changed file
with
6 additions
and
0 deletions
src/pages/pointsExchangeRecords/pointsExchangeRecords.vue
| @@ -280,6 +280,12 @@ export default { | @@ -280,6 +280,12 @@ export default { | ||
| 280 | // } else if (this.plat == "a") { | 280 | // } else if (this.plat == "a") { |
| 281 | 281 | ||
| 282 | // } | 282 | // } |
| 283 | + // 页面显示出来了 | ||
| 284 | + if (document.hidden === false) { | ||
| 285 | + | ||
| 286 | + // 刷新页面 | ||
| 287 | + location.reload(); | ||
| 288 | + } | ||
| 283 | } | 289 | } |
| 284 | } | 290 | } |
| 285 | </script> | 291 | </script> |