|
@@ -99,12 +99,7 @@ export default {
|
|
|
money (val) {
|
|
|
if (val > 200) {
|
|
|
this.money = 200
|
|
|
- this.showTip('红包总金额不能多于 200 EOS')
|
|
|
- }
|
|
|
-
|
|
|
- if (val < 0.1) {
|
|
|
- this.money = 0.1
|
|
|
- this.showTip('红包总金额不能少于 0.1 EOS')
|
|
|
+ this.showTip('总金额 不能多于 200 EOS')
|
|
|
}
|
|
|
|
|
|
if (val && val / this.packetNum < 0.01) {
|
|
@@ -131,6 +126,11 @@ export default {
|
|
|
}, timeout)
|
|
|
},
|
|
|
async sendPacket () {
|
|
|
+ if (this.money < 0.1) {
|
|
|
+ this.showTip('总金额 不能少于 0.1 EOS')
|
|
|
+ return false
|
|
|
+ }
|
|
|
+
|
|
|
let eosAmount = this.amountSum.toFixed(4) + ' EOS'
|
|
|
let toAccount = 'meechatadmin'
|
|
|
let memo = {
|