79491888

Date: 2025-03-07 09:59:19
Score: 1
Natty:
Report link

I didn't test this but I think it should get rid of that error.

let task = ref(props.task || {})

const form = ref({
            id: editMode.value && task.value?.data?.id ? task.value.data.id : '',
            title: editMode.value && task.value?.data?.title ? task.value.data.title : '',
        })
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Hoang