fix
This commit is contained in:
@@ -285,6 +285,12 @@ export default {
|
||||
return this.$router.push('/')
|
||||
}
|
||||
this.survey = this.initForm()
|
||||
}).catch((error)=>{
|
||||
if (error.response.status === 422) {
|
||||
this.validation = error.response.data.validation
|
||||
this.hasValidationError = true
|
||||
this.waiting = false
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user