<template>
    <div>
        <h3>FORM MAIN</h3>
        <div>{{ this.id }}</div>
    </div>
</template>

<script>
    export default {
        name: "view-task-form-main",
        props: {
            id: {
                type: [Number, String],
                default: '',
                required: false
            },
            isEdit: {
                type: Boolean,
                default: false,
                required: true
            }
        },
        watch: {
            $route(route) {
                console.log('[FormMain]', route);
                console.log('[FormMain] isEdit', this.isEdit);
            }
        }
    }
</script>
