diff options
Diffstat (limited to 'pages/admin')
-rw-r--r-- | pages/admin/index.vue | 2 | ||||
-rw-r--r-- | pages/admin/models.vue | 2 | ||||
-rw-r--r-- | pages/admin/reports.vue | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/pages/admin/index.vue b/pages/admin/index.vue index f3da1ab..b0c480c 100644 --- a/pages/admin/index.vue +++ b/pages/admin/index.vue @@ -133,6 +133,8 @@ export default { this.$store.dispatch("users/getUsers", this.page).then(() => { this.pages = Math.ceil(this.count / 20); }); + + this.boxEditUser = 0; } else { this.$toast.error(response.data.error); } diff --git a/pages/admin/models.vue b/pages/admin/models.vue index 0804d74..bf00cc8 100644 --- a/pages/admin/models.vue +++ b/pages/admin/models.vue @@ -218,6 +218,8 @@ export default { this.$store.dispatch("models/getModels", this.page).then(() => { this.pages = Math.ceil(this.count / 20); }); + + this.boxEditModel = 0; } else { this.$toast.error(response.data.error); } diff --git a/pages/admin/reports.vue b/pages/admin/reports.vue index 4668222..8422eb7 100644 --- a/pages/admin/reports.vue +++ b/pages/admin/reports.vue @@ -202,6 +202,8 @@ export default { this.pages = Math.ceil(this.count / 20); }); } + + this.boxEditWarning = 0; } else { this.$toast.error(response.data); } |