Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaojay committed Jul 4, 2019
1 parent ec3cee5 commit 75350e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/renderer/components/FileSend.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export default {
if(spendable){
return spendable >= parseFloat(amount) + 0.01 //0.008
}
return true
return false
},
send(){
if(this.checkForm()){
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/HttpSend.vue
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export default {
if(spendable){
return spendable >= parseFloat(amount) + 0.01 //0.008
}
return true
return false
},
checkForm(){
this.errors = []
Expand Down

0 comments on commit 75350e6

Please sign in to comment.