fix: 修复填写商品属性后按回车键导致页面刷新的问题
This commit is contained in:
parent
6c1798097c
commit
1ce3343578
@ -7,6 +7,7 @@
|
|||||||
:model="formData"
|
:model="formData"
|
||||||
:rules="formRules"
|
:rules="formRules"
|
||||||
label-width="80px"
|
label-width="80px"
|
||||||
|
@keydown.enter.prevent="submitForm"
|
||||||
>
|
>
|
||||||
<el-form-item label="属性名称" prop="name">
|
<el-form-item label="属性名称" prop="name">
|
||||||
<el-input v-model="formData.name" placeholder="请输入名称" />
|
<el-input v-model="formData.name" placeholder="请输入名称" />
|
||||||
|
Loading…
Reference in New Issue
Block a user