mo 3 년 전
부모
커밋
851fb260a3
4개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 0
      dist/index.html
  2. 0 0
      dist/static/js/app.c0513094.js
  3. 0 0
      dist/static/js/chunk-c3bc1be6.f996d730.js
  4. 3 3
      src/views/setQuestions/components/answerList.vue

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/index.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/js/app.c0513094.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 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,

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.