Merge pull request #45 from DevDengChao/fix/submit-product-property-by-enter

fix: 修复填写商品属性后按回车键导致页面刷新的问题
This commit is contained in:
芋道源码 2024-05-11 22:34:23 +08:00 committed by GitHub
commit 057a980982
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,6 +7,7 @@
:model="formData"
:rules="formRules"
label-width="80px"
@keydown.enter.prevent="submitForm"
>
<el-form-item label="属性名称" prop="name">
<el-input v-model="formData.name" placeholder="请输入名称" />