- 在扫描结果处理中增加对无信息二维码的处理- 当 prizeType 为 2 且无信息时,显示中奖界面
@@ -282,6 +282,10 @@
console.log(planDetail);
if (scanDetail.result.click) {
this.initCardData(scanDetail.clickJson);
+
+ if (!scanDetail.result.hasInfo && (this.prizeJson.prizeType == 2 || this.prizeJson.prize_type == 2)){
+ this.showWin = true;
+ }
}
},
methods: {