nieyuge 2 years ago
parent
commit
b338965f85
1 changed files with 1 additions and 1 deletions
  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();