Problem Description:
When the input input box in the form triggers the keyboard to enter, the page will be refreshed
reason:
Because the form form regards this event as an operation to submit the form
solution:
Write an attribute in el-form:
<el-form v-bind="formProps" @submit.native.prevent ref="form">
<el-input></el-input>
</el-form>