fixed loading forever on upload chinabankslip

This commit is contained in:
Jack Goh
2018-06-30 09:55:54 +08:00
parent ca74cfae23
commit d2fd140f74
@@ -320,9 +320,11 @@
axios
.get('/api/admin/booking/' + this.$route.params.id)
.then((response) => {
.then((response) => {
this.loading = false
this.booking_details = response.data
}).catch((error) => {
this.loading = false
console.log(error)
this.$router.push({
name: 'notfound'