get

 avatar
unknown
php
4 years ago
552 B
5
Indexable
 axios.get(`/api/payment/list`, {headers: {'Authorization': 'Bearer ' + this.token}}).then((response) =>{
                this.$vs.loading.close()
                this.paymentMethod = response.data.data
            }).catch((e) => {
                this.$vs.loading.close()
                this.$vs.notify({
                    color: 'danger',
                    title: 'Failed',
                    text: e.message,
                    iconPack: 'feather',
                    icon: 'icon-alert-circle',
                })
            })
Editor is loading...