From da76b0ca5410793537c59e7ab56e81a09509bf2c Mon Sep 17 00:00:00 2001 From: Pedro Lopes Date: Tue, 15 Sep 2020 08:45:26 -0300 Subject: [PATCH] redirect after event created --- src/components/cpmEventForm.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/cpmEventForm.vue b/src/components/cpmEventForm.vue index 92df4ad..67c234c 100644 --- a/src/components/cpmEventForm.vue +++ b/src/components/cpmEventForm.vue @@ -114,7 +114,7 @@ -
+ @@ -348,10 +348,11 @@ export default { .then(resp => { if(resp.status == 200){ - this.$toast.success('Registro efetuado!', 'Hey', { position: "topCenter" }) + this.$router.push('/Feed') + this.eventForm = '' } })