蒋珅 1 éve
szülő
commit
d2fab91e09

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

@@ -220,7 +220,8 @@ funGetStation()
     <el-upload  
     <el-upload  
         class="upload-demo"
         class="upload-demo"
         action="#"
         action="#"
-        :limit="5"
+        :limit="100"
+		accept=".csv"
         :on-change="changeUpload"
         :on-change="changeUpload"
         name="fileData"
         name="fileData"
         :on-exceed="handleExceed"
         :on-exceed="handleExceed"
@@ -229,7 +230,7 @@ funGetStation()
       >
       >
         <template #trigger >
         <template #trigger >
           <el-button type="primary" class="ml-10" >选择文件</el-button>
           <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>
         </template>
       </el-upload>
       </el-upload>