通用文件预览插件修改
This commit is contained in:
@@ -45,7 +45,7 @@ const handleFileType = (type:string) => {
|
|||||||
<VueOfficeDocx :src="previewFile?.file_url" class="w-full items-center" />
|
<VueOfficeDocx :src="previewFile?.file_url" class="w-full items-center" />
|
||||||
</template>
|
</template>
|
||||||
<!-- Excel 预览 -->
|
<!-- Excel 预览 -->
|
||||||
<template v-if="handleFileType(previewFile?.file_type) === 'excel'">
|
<template v-else-if="handleFileType(previewFile?.file_type) === 'excel'">
|
||||||
<VueOfficeExcel :src="previewFile?.file_url" class="w-full items-center" />
|
<VueOfficeExcel :src="previewFile?.file_url" class="w-full items-center" />
|
||||||
</template>
|
</template>
|
||||||
<!-- Ppt 预览 -->
|
<!-- Ppt 预览 -->
|
||||||
|
|||||||
Reference in New Issue
Block a user