Merge pull request #45 from DevDengChao/fix/submit-product-property-by-enter
fix: 修复填写商品属性后按回车键导致页面刷新的问题
This commit is contained in:
commit
057a980982
@ -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