nieyuge 2 gadi atpakaļ
vecāks
revīzija
b338965f85
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/view/iframe/red-packet/luck-draw.vue

+ 1 - 1
src/view/iframe/red-packet/luck-draw.vue

@@ -1392,7 +1392,7 @@ function init(initParams) {
             state.userId = res.data.srcUserId;
             state.tweet_author = state.detail.postUserInfo && state.detail.postUserInfo.nickName || '';
             state.customCover = state.detail.posterType == 2 ? 1 : 0;
-            state.customGiveaway = state.detail.posterType == 2 ? 1 : 0;
+            state.customGiveaway = state.detail.rewardType == 2 ? 1 : 0;
             // 不要删除这个console
             console.log('postBizData', state.detail)
             checkFacebookReply();