fix for modal not close

This commit is contained in:
Kawlll Maxso
2019-04-22 15:36:55 +08:00
parent a1c5087b9c
commit 38d67d4139
3 changed files with 6 additions and 6 deletions
@@ -169,7 +169,7 @@
//turn off loading animation
this.isLoading = false;
$('.modal').modal('hide');
this.collapseEdit();
})
}
@@ -1,5 +1,5 @@
<template>
<div>
<div class="warehouseForm">
<notification-component ref="notification"></notification-component>
<loading-component v-show="isLoading"></loading-component>
<div class="row m-t-20" v-show="!isEdit">
@@ -102,7 +102,7 @@
//turn off loading animation
this.isLoading = false;
$('.modal').modal('hide');
this.collapseEdit();
})
},
+3 -3
View File
@@ -53,11 +53,11 @@ export default Object.freeze({
DETAILS: {
CREATED: {
TITLE: 'Created Successfully',
MESSAGE: null
MESSAGE: "created successfully"
},
DETAILS_UPDATED: {
TITLE: null,
MESSAGE: null
TITLE: "updated",
MESSAGE: "updated"
}
},
ADDRESS_BOOK: {