Explorar o código

修复element 回车bug

asd26269546 %!s(int64=2) %!d(string=hai) anos
pai
achega
7069ff1721

+ 1 - 0
src/components/form-test/index.vue

@@ -9,6 +9,7 @@
     :model="insideData"
     :rules="insideRules"
     label-width="auto"
+    @submit.native.prevent
   >
     <el-row>
       <el-col

+ 1 - 1
src/views/product-material/product/index.vue

@@ -136,7 +136,7 @@
             top="60px"
           >
             <div class="search-box">
-              <el-form :form="req" label-position="top" label-width="100px">
+              <el-form :form="req" label-position="top" label-width="100px" @submit.native.prevent>
                 <el-form-item
                   :label="$t('product_material.product.productType')"
                 >