<Form ref="formSolve" :model="formSolve" :rules="ruleSolve" :label-width="110" @submit.native.prevent >
<FormItem label="设备码或网关码" prop="device_id">
<Input @keyup.enter.native="keyEnter()" type="text" v-model="formSolve.device_id">
</Input>
</FormItem>
<FormItem label="损坏原因">
<Input type="textarea" v-model="formSolve.desc">
</Input>
</FormItem>
<FormItem>
<Button type="primary" :loading="btnload" @click="handleAdd">提交</Button>
</FormItem>
</Form>
解决办法: 在form表单标签加上@submit.native.prevent,禁止触发form表单的submit事件。