Browse Source

feat:修改导入类型

DESKTOP-USV654P\pc 5 months ago
parent
commit
4156d0c984
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/educational/whiteList/index.vue

+ 1 - 1
src/views/educational/whiteList/index.vue

@@ -3,7 +3,7 @@
     <ClassTree class="w-1/3 xl:w-1/4" @select="handleSelect" />
     <ClassTree class="w-1/3 xl:w-1/4" @select="handleSelect" />
     <BasicTable @register="registerTable" class="w-2/3 xl:w-3/4" :searchInfo="searchInfo">
     <BasicTable @register="registerTable" class="w-2/3 xl:w-3/4" :searchInfo="searchInfo">
       <template #toolbar>
       <template #toolbar>
-        <Upload :showUploadList="false" :before-upload="beforeUpload" accept=".rar,.zip">
+        <Upload :showUploadList="false" :before-upload="beforeUpload" accept=".xlsx,.xls">
           <a-button block type="primary"> 导入 </a-button>
           <a-button block type="primary"> 导入 </a-button>
         </Upload>
         </Upload>
       </template>
       </template>