Browse Source

修改bug

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