浏览代码

修改bug

huangxiaojing 2 年之前
父节点
当前提交
ea342b461f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pages/activity/lottery/index.vue

+ 1 - 1
pages/activity/lottery/index.vue

@@ -463,7 +463,7 @@ export default {
         this.payType = this.paySupportType[0]
         this.phoneType = res.data.phoneType
         this.title = res.data.title
-        this.prizeIndex = res.data.luckDrawType;
+        this.prizeIndex = res.data.luckDrawType === 1 ? 5 : 2;
         if (this.num === 0) {
           this.showPay = true
         }