disabled extra logging
This commit is contained in:
@@ -30,13 +30,13 @@ const { handleSubmit, resetForm, errors, values, setFieldValue } = useForm({
|
||||
}
|
||||
})
|
||||
|
||||
watch(errors, (newErrors) => {
|
||||
console.log(newErrors)
|
||||
}, { deep: true })
|
||||
// watch(errors, (newErrors) => {
|
||||
// console.log(newErrors)
|
||||
// }, { deep: true })
|
||||
|
||||
watch(values, (newErrors) => {
|
||||
console.log(newErrors.attendees)
|
||||
}, { deep: true })
|
||||
// watch(values, (newErrors) => {
|
||||
// console.log(newErrors.attendees)
|
||||
// }, { deep: true })
|
||||
|
||||
watch(() => values.course_id, (newCourseId, oldCourseId) => {
|
||||
if (!oldCourseId) return;
|
||||
@@ -67,7 +67,7 @@ function onSubmit(vals) {
|
||||
emit("submit", newID);
|
||||
});
|
||||
} catch (err) {
|
||||
console.log("There was an error submitting the training report", err);
|
||||
console.error("There was an error submitting the training report", err);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user