huangxiaojing 2 anni fa
parent
commit
fbc994f0e1
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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.showPay = true;
       // 解锁
       // 解锁
       this.isLocking = false;
       this.isLocking = false;
-      if (res.data.luckDrawType === 1) {
+      if (this.luckDrawType === 1) {
         this.makePoint('activity_15.9年卡');
         this.makePoint('activity_15.9年卡');
         if (Number(localStorage.getItem('year-15-9')) !== 2) {
         if (Number(localStorage.getItem('year-15-9')) !== 2) {
           localStorage.setItem('year-15-9', 1);
           localStorage.setItem('year-15-9', 1);
         }
         }
       }
       }
-      if (res.data.luckDrawType === 2) {
+      if (this.luckDrawType === 2) {
         this.makePoint('activity_9.9年卡');
         this.makePoint('activity_9.9年卡');
         if (Number(localStorage.getItem('year-9-9')) !== 2) {
         if (Number(localStorage.getItem('year-9-9')) !== 2) {
           localStorage.setItem('year-9-9', 1);
           localStorage.setItem('year-9-9', 1);