Jelajahi Sumber

'上传csv'

蒋珅 1 tahun lalu
induk
melakukan
d2fab91e09
1 mengubah file dengan 3 tambahan dan 2 penghapusan
  1. 3 2
      src/pages/dataFilter/prepare/components/search.vue

+ 3 - 2
src/pages/dataFilter/prepare/components/search.vue

@@ -220,7 +220,8 @@ funGetStation()
     <el-upload  
         class="upload-demo"
         action="#"
-        :limit="5"
+        :limit="100"
+		accept=".csv"
         :on-change="changeUpload"
         name="fileData"
         :on-exceed="handleExceed"
@@ -229,7 +230,7 @@ funGetStation()
       >
         <template #trigger >
           <el-button type="primary" class="ml-10" >选择文件</el-button>
-		    <div slot="tip" class="el-upload__tip">只能上传不超过5个文件</div>
+		    <div slot="tip" class="el-upload__tip">只能上传csv不超过100个文件</div>
         </template>
       </el-upload>