Commit 4822416c by 冷斌

fix bug

parent be7da8b4
...@@ -60,8 +60,8 @@ ...@@ -60,8 +60,8 @@
data: { data: {
//数据集 //数据集
wayNum: 0, // 1支付宝 2银行卡 wayNum: 0, // 1支付宝 2银行卡
allow_money: 999, // 可提现金额 allow_money: 0, // 可提现金额
withdraw_money:'', // 提现金额 withdraw_money: 0, // 提现金额
source: 0 source: 0
}, },
methods: { methods: {
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
}, },
sureWithdraw(){ sureWithdraw(){
if(this.withdraw_money){ if(this.withdraw_money){
if(this.withdraw_money>this.allow_money){ if(parseInt(this.withdraw_money) > parseInt(this.allow_money)){
layer.msg("不能大于可提现金额") layer.msg("不能大于可提现金额")
}else{ }else{
layer.msg("可以提现") layer.msg("可以提现")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment