damon227 1 жил өмнө
parent
commit
a955e91dd7

+ 4 - 4
src/views/modules/common/upload-component-v2.vue

@@ -15,19 +15,19 @@
         :limit="limit"
         :on-exceed="handleExceed"
         :http-request="handleUpload"
-        :auto-upload="false"
+        :auto-upload="true"
       >
         <el-button v-show="!display" slot="trigger" size="small" type="primary"
-          >选取文件</el-button
+          >点击上传</el-button
         >
-        <el-button
+        <!-- <el-button
           v-show="!display"
           style="margin-left: 10px"
           size="small"
           type="success"
           @click="submitUpload"
           >开始上传</el-button
-        >
+        > -->
         <el-button v-if="templateCode !== ''" size="small" @click="downloadTemplate">下载模板</el-button>
       </el-upload>
     </el-col>