Преглед на файлове

fix: add 'txt','xlsx', 'xls' for 评估标签

allen преди 2 месеца
родител
ревизия
4a3c8de624
променени са 2 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 2 2
      src/views/demo/algorithmTaskTrack/index.vue
  2. 2 2
      src/views/demo/trackSequence/index.vue

+ 2 - 2
src/views/demo/algorithmTaskTrack/index.vue

@@ -122,7 +122,7 @@
           <File
             ref="fileUploadEvaluateLabelRef"
             :model-value="formAddTask.inputEvaluateLabelOssId"
-            :file-type="['txt']"
+            :file-type="['txt', 'xlsx', 'xls']"
             :file-size="4096"
             @update:model-value="fileUploadChangeEvaluateLabel"
           />
@@ -823,7 +823,7 @@ const setItemsOptions_TrackSequence = () => {
       compOptions: {
         elTagName: 'file-upload',
         fileSize: 4096,
-        fileType: ['txt'],
+        fileType: ['txt', 'xlsx', 'xls'],
         placeholder: '请上传标签'
       }
     },

+ 2 - 2
src/views/demo/trackSequence/index.vue

@@ -468,7 +468,7 @@ const showEvaluate = (row: any) => {
       compOptions: {
         elTagName: 'file-upload',
         fileSize: 4096,
-        fileType: ['txt'],
+        fileType: ['txt', 'xlsx', 'xls'],
         placeholder: '请上传数据集'
       }
     },
@@ -882,7 +882,7 @@ const setItemsOptions = () => {
       compOptions: {
         elTagName: 'file-upload',
         fileSize: 4096,
-        fileType: ['txt'],
+        fileType: ['txt', 'xlsx', 'xls'],
         placeholder: '请上传标签'
       }
     },