fix: q-notify behaviour
This commit is contained in:
parent
93df7bb2c0
commit
14cea467a8
2 changed files with 14 additions and 8 deletions
|
|
@ -190,9 +190,20 @@ async function customerStall(path) {
|
|||
}
|
||||
}
|
||||
},
|
||||
openQrCodeDialog() {
|
||||
this.qrCodeDialog = {
|
||||
data: {
|
||||
payment_request: null
|
||||
},
|
||||
dismissMsg: null,
|
||||
show: false
|
||||
}
|
||||
},
|
||||
closeQrCodeDialog() {
|
||||
this.qrCodeDialog.show = false
|
||||
this.qrCodeDialog.dismissMsg = null
|
||||
setTimeout(() => {
|
||||
this.qrCodeDialog.dismissMsg()
|
||||
}, 1000)
|
||||
},
|
||||
async placeOrder() {
|
||||
this.loading = true
|
||||
|
|
@ -281,7 +292,7 @@ async function customerStall(path) {
|
|||
}
|
||||
this.loading = false
|
||||
this.resetCart()
|
||||
this.qrCodeDialog.show = true
|
||||
this.openQrCodeDialog()
|
||||
this.listenMessages()
|
||||
},
|
||||
async listenMessages() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue