问题描述 使用vant的vant-field组件来实现输入框,此项为必填项,所以需要加:rules="[{required: true }]" <van-field v-model="companyID" type="text" name="companyID"