This commit is contained in:
Swift
2024-02-24 18:43:19 +03:30
parent 85b95ed60d
commit 9bf686bbfe
3 changed files with 10 additions and 4 deletions
+6
View File
@@ -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
}
})
}
}