ソースを参照

Merge branch 'main' of http://gitlab.smartai.com/qi/xiaoshu

zhupei 1 年間 前
コミット
a9c9e26038
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/components/DocumentCards.vue

+ 1 - 1
src/components/DocumentCards.vue

@@ -69,7 +69,7 @@
                           @before-remove="onBeforeRemove"
                           :custom-request="customRequest"
                           :show-upload-button="{ showOnExceedLimit: true }"
-                          accept="*">
+                          accept=".txt,.pdf,.xlsx">
                   <template #upload-button>
                     <div class="upload-main">
                       <p>拖拽文档到这里,或<span>点此上传</span></p>