소스 검색

数据隐藏问题

kk.shi 3 년 전
부모
커밋
abe5594617
2개의 변경된 파일11개의 추가작업 그리고 11개의 파일을 삭제
  1. 2 2
      pages/luckDraw/profile.js
  2. 9 9
      pages/signIn/record/record.js

+ 2 - 2
pages/luckDraw/profile.js

@@ -182,8 +182,8 @@ Page({
             noResult: false,
             noCoupon: true,
             noPrize: false,
+            goodsItemList: [],
         })
-        this.data.goodsItemList = [];
         this.getUserPrizeList()
     },
     getPrize(e) {
@@ -197,8 +197,8 @@ Page({
             noResult: false,
             noCoupon: false,
             noPrize: true,
+            goodsItemList: [],
         })
-        this.data.goodsItemList = [];
         this.getUserPrizeList()
     },
     turnPrize: function() {

+ 9 - 9
pages/signIn/record/record.js

@@ -244,10 +244,10 @@ Page({
             noCoupon: true,
             noDetail: false,
             noUtility: false,
+            couponList: [],
+            detailList: [],
+            stateList: [],
         })
-        this.data.couponList= [],
-        this.data.detailList= [],
-        this.data.stateList= [],
         this.getUserAwardCouponList()
         wx.setNavigationBarTitle({
             title: '签到优惠券',
@@ -266,10 +266,10 @@ Page({
             noDetail: true,
             noCoupon: false,
             noUtility: false,
+            couponList: [],
+            detailList: [],
+            stateList: [],
         })
-        this.data.couponList= [],
-        this.data.detailList= [],
-        this.data.stateList= [],
         this.getUserSignInList()
         wx.setNavigationBarTitle({
             title: '获取明细',
@@ -289,10 +289,10 @@ Page({
             noUtility: true,
             noCoupon: false,
             noDetail: false,
+            couponList: [],
+            detailList: [],
+            stateList: [],
         })
-        this.data.couponList= [],
-        this.data.detailList= [],
-        this.data.stateList= [],
         this.getCouponStateList()
         wx.setNavigationBarTitle({
             title: '使用/失效',