<template>
    <el-form :model="form"  label-width="150" style="max-width: 600px">
        <el-form-item label="申请人电话">
            <el-input v-model="form.phone" placeholder="请输入申请人电话" />
        </el-form-item>

        <el-form-item label="申请人姓名">
            <el-input v-model="form.name" placeholder="请输入申请人姓名" />
        </el-form-item>

    </el-form>
</template>

<script lang="ts" setup>
import { reactive, ref } from 'vue'

// do not use same name with ref
const form = reactive({
    name: '',
    phone: '',
})

const onSubmit = () => {
    console.log('submit!')
}
</script>