Hi. I need to close the modal (ref="modal") after receive successful response from server.
reject(orderId) {
axios.post('/manage-doc', {order_id: orderId})
.then(({data}) => {
if (data) {
this.$refs.modal.close()
});
}
})
},
But it's not working... please help.
Thanks for creating this plugin.
Hi. I need to close the modal (ref="modal") after receive successful response from server. reject(orderId) { axios.post('/manage-doc', {order_id: orderId}) .then(({data}) => { if (data) { this.$refs.modal.close() }); } }) },
But it's not working... please help. Thanks for creating this plugin.