fix: 修复填写商品属性后按回车键导致页面刷新的问题

This commit is contained in:
DevDengChao 2024-05-09 15:02:45 +08:00
parent 6c1798097c
commit 1ce3343578

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="请输入名称" />