added logic for accept data from modal

This commit is contained in:
Kostya
2023-11-26 17:08:00 +03:00
parent 8d5e7e3475
commit 3d86619802
2 changed files with 24 additions and 2 deletions

View File

@@ -45,6 +45,7 @@ export default {
return this.$emit('closemodal')
},
detectorMethod(method) {
this.closeModal()
if (method === 'dep') {
return this.$emit('deposit', this.amount)
}