mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 12:19:31 +02:00
added checking amount
This commit is contained in:
@@ -64,6 +64,7 @@ export default {
|
|||||||
watch: {
|
watch: {
|
||||||
amount(newAmount) {
|
amount(newAmount) {
|
||||||
console.log(newAmount)
|
console.log(newAmount)
|
||||||
|
if (!this.amount < 0 && this.amount !== '' ) {
|
||||||
this.offBtn = true
|
this.offBtn = true
|
||||||
console.log('OFFBTN', this.offBtn)
|
console.log('OFFBTN', this.offBtn)
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
@@ -81,6 +82,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}, 2000)
|
}, 2000)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
closeModal() {
|
closeModal() {
|
||||||
|
|||||||
Reference in New Issue
Block a user