From 4e3ea127d1000b0f615b860e553acc409d926e18 Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: 星期四, 27 十一月 2025 09:57:27 +0800
Subject: [PATCH] 修改

---
 src/views/build/conpanyFunctionConsult/standardSysTemp/sysStandardModule/index.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/views/build/conpanyFunctionConsult/standardSysTemp/sysStandardModule/index.vue b/src/views/build/conpanyFunctionConsult/standardSysTemp/sysStandardModule/index.vue
index 3cd6a11..2c5aed9 100644
--- a/src/views/build/conpanyFunctionConsult/standardSysTemp/sysStandardModule/index.vue
+++ b/src/views/build/conpanyFunctionConsult/standardSysTemp/sysStandardModule/index.vue
@@ -107,7 +107,7 @@
 
 const openFile = async(path)=>{
   const ext = path.split('.').pop().toLowerCase();
-  if (ext === 'doc') {
+  if (ext === 'doc' || ext === 'xlsx' || ext === 'xls') {
     ElMessageBox.confirm('暂不支持线上预览.doc文件,是否下载查看?', '提示', { confirmButtonText: '确认', cancelButtonText: '取消', type: 'warning' }).then(() => {
       window.open(`${import.meta.env.VITE_APP_BASE_API}/${path}`, '_blank');
     }).catch(() => {

--
Gitblit v1.9.2