router.beforeEach((to, from, next) => {
const auth = getAuth()
auth.onAuthStateChanged(user => {
if (!user && to.path !== '/auth') {
next('/auth')
return
}
else if (user && to.path === '/auth') {
next(from.path)
return
}
next()
})
})const form = useForm({
title: '',
final_deadline: ''
..... все ваши коды
}); <FormKit v-for="(deadline_type, idx) in data.deadline_types" key="deadline_type.id"
type="date"
:value="method(deadlineType)"
@change=meеhodChange(deadlineType)
:label="deadline_type.name"
/>let cartItem = state.cart[item.id];let cartItem = state.cart?[item.id];
Вы же начинаете все section отдельным блоком
Опишите задачу, как должно быть