diff options
Diffstat (limited to 'day9/task5_vue/src/components/EditFormBox.vue')
| -rw-r--r-- | day9/task5_vue/src/components/EditFormBox.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/day9/task5_vue/src/components/EditFormBox.vue b/day9/task5_vue/src/components/EditFormBox.vue index 42bb3c6..276dbbe 100644 --- a/day9/task5_vue/src/components/EditFormBox.vue +++ b/day9/task5_vue/src/components/EditFormBox.vue @@ -170,7 +170,7 @@ }) .then(response => { this.$emit('close-form'); - this.$emit('show-popup', 'Database updated successfully'); + this.$emit('show-popup', {'type': 'success', 'meg': 'Database updated successfully'}); }); } } |