mo 3 vuotta sitten
vanhempi
commit
851fb260a3

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/index.html


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/static/js/app.c0513094.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/static/js/chunk-c3bc1be6.f996d730.js


+ 3 - 3
src/views/setQuestions/components/answerList.vue

@@ -63,7 +63,7 @@
           :accept="
             questionList[currentIndex - 1]['type'] == 'image'
               ? '.jpg, .jpeg, .png'
-              : '.XLSX,.XLS,.DOCX,.PDF,.TXT'
+              : '.XLSX,.XLS,.DOCX,.PDF,.TXT,.PSD,.EPS'
           "
           :before-upload="
             (flie) => {
@@ -96,7 +96,7 @@
             只能上传JPG、PNG、JPEG、GIF文件,且不超过5MB
           </div>
           <div slot="tip" v-else class="el-upload__tip">
-            只能上传XLSX、XLS、DOCX、PDF、TXT文件,且不超过5MB
+            只能上传XLSX、XLS、DOCX、PDF、TXT、PSD、EPS文件,且不超过5MB
           </div>
         </el-upload>
       </el-card>
@@ -343,7 +343,7 @@ export default {
       // const isJPG = file.type === 'image/jpeg';
       const isLt2M = file.size / 1024 / 1024 < 5;
       const imgType = ["JPG", "PNG", "JPEG", "GIF"];
-      const testType = ["XLSX", "XLS", "DOCX", "PDF", "TXT"];
+        const testType = ["XLSX", "XLS", "DOCX", "PDF", "TXT","PSD","EPS"];
       const fileExtension = file.name.split(".").pop().toUpperCase();
       console.log(
         type,

Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä