huangxiaojing 2 年 前
コミット
fbc994f0e1
共有1 個のファイルを変更した2 個の追加2 個の削除を含む
  1. 2 2
      pages/activity/lottery/pc.vue

+ 2 - 2
pages/activity/lottery/pc.vue

@@ -476,13 +476,13 @@ export default {
       this.showPay = true;
       // 解锁
       this.isLocking = false;
-      if (res.data.luckDrawType === 1) {
+      if (this.luckDrawType === 1) {
         this.makePoint('activity_15.9年卡');
         if (Number(localStorage.getItem('year-15-9')) !== 2) {
           localStorage.setItem('year-15-9', 1);
         }
       }
-      if (res.data.luckDrawType === 2) {
+      if (this.luckDrawType === 2) {
         this.makePoint('activity_9.9年卡');
         if (Number(localStorage.getItem('year-9-9')) !== 2) {
           localStorage.setItem('year-9-9', 1);