Skip to content

Commit 057a980

Browse files
authored
Merge pull request #45 from DevDengChao/fix/submit-product-property-by-enter
fix: 修复填写商品属性后按回车键导致页面刷新的问题
2 parents 6c17980 + 1ce3343 commit 057a980

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/views/mall/product/spu/form/ProductPropertyAddForm.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
:model="formData"
88
:rules="formRules"
99
label-width="80px"
10+
@keydown.enter.prevent="submitForm"
1011
>
1112
<el-form-item label="属性名称" prop="name">
1213
<el-input v-model="formData.name" placeholder="请输入名称" />

0 commit comments

Comments
 (0)