|
@@ -19,7 +19,7 @@ const emit = defineEmits(['readClick', 'uploadFile'])
|
|
|
</el-tooltip>
|
|
|
<span class="separator"></span>
|
|
|
<el-upload style="display:inline-block" :before-upload="(file: any) => emit('uploadFile', file)" :multiple="false"
|
|
|
- name="file" :show-file-list="false" :accept="'.xlsx,.pdf'">
|
|
|
+ name="file" :show-file-list="false" :accept="'.xlsx,.pdf,.doc,.docx'">
|
|
|
<el-tooltip effect="dark" content="文件上传" placement="top">
|
|
|
<el-button :icon="Paperclip" circle />
|
|
|
</el-tooltip>
|