소스 검색

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')) {