1.新建表单组件el-form.vue
</el-date-picker>
</el-form-item>
<el-form-item>
<el-button type="primary" @click="submitInfo">提交</el-button>
</el-form-item>
</el-form>
1.新建表单组件el-form.vue
</el-date-picker>
</el-form-item>
<el-form-item>
<el-button type="primary" @click="submitInfo">提交</el-button>
</el-form-item>
</el-form>