浏览代码

index onShow

andy 1 年之前
父节点
当前提交
01f696b92c
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      pages/index/index.vue

+ 2 - 1
pages/index/index.vue

@@ -162,7 +162,8 @@ export default {
       userInfo: {},
     }
   },
-  created() {
+  created() {},
+  onShow() {
     this.getList()
     this.getCouponList()
     if (wx.getStorageSync('token')) {