Browse Source

Merge branch 'master' of http://git.ycjcjy.com/honghe/h5-draw-lots

Baozhangchao 3 years ago
parent
commit
70e2d6961e
2 changed files with 5 additions and 5 deletions
  1. BIN
      public/favicon.ico
  2. 5
    5
      src/pages/Honghe.vue

BIN
public/favicon.ico View File


+ 5
- 5
src/pages/Honghe.vue View File

@@ -253,12 +253,12 @@ export default {
253 253
       this.binggo = false
254 254
     },
255 255
     handleMonthClick(month) {
256
-      this.list.map((item) => {
257
-        if (item.id == month.id) {
258
-          item.mode = 2
259
-        }
260
-      })
256
+      if (!this.person || !this.personId) {
257
+        alert('为了您能够正常参与抽奖,请刷新页面并同意授权微信昵称!')
258
+        return
259
+      }
261 260
       this.currentMonth = month
261
+      this.currentMonth.mode = 2
262 262
 
263 263
       // 如果点击可以抽奖
264 264
       if (month.id === this.bingoId && !this.noPrize) {