This commit is contained in:
@jyuhsin
2026-03-05 17:46:51 +08:00
parent 446e9110f1
commit a3f30dfa85
@@ -50,7 +50,7 @@
:fit="'cover'" :fit="'cover'"
@click.stop="$commonUtil.previewFile(file)" @click.stop="$commonUtil.previewFile(file)"
></el-image> ></el-image>
<div v-loading="officeLoading" element-loading-text="拼命加载中" style="height: 100%"> <div v-else v-loading="officeLoading" element-loading-text="拼命加载中" style="height: 100%">
<iframe v-if="['doc', 'docx', 'xls', 'xlsx'].includes(file?.suffix)" <iframe v-if="['doc', 'docx', 'xls', 'xlsx'].includes(file?.suffix)"
frameborder="0" frameborder="0"
width="100%" width="100%"