added checking amount

This commit is contained in:
Kostya
2023-12-13 23:51:57 +03:00
parent 3dbefb199e
commit 64199167f6

View File

@@ -64,6 +64,7 @@ export default {
watch: {
amount(newAmount) {
console.log(newAmount)
if (!this.amount < 0 && this.amount !== '' ) {
this.offBtn = true
console.log('OFFBTN', this.offBtn)
setTimeout(() => {
@@ -81,6 +82,7 @@ export default {
}
}, 2000)
}
}
},
methods: {
closeModal() {