Browse Source

红包个数最多100个

eosgetdice12 5 years ago
parent
commit
df70ea0688
1 changed files with 7 additions and 0 deletions
  1. 7 0
      _src/components/popup/packetSend/index.vue

+ 7 - 0
_src/components/popup/packetSend/index.vue

@@ -120,6 +120,13 @@ export default {
           this.tips = ''
         }, 3000)
       }
+      if (to > 100) {
+        this.packetNum = 100
+        this.tips = '红包个数最大为 100 个'
+        setTimeout(() => {
+          this.tips = ''
+        }, 3000)
+      }
     }
   },
   methods: {