From 03b3624455b2f3a495ebb34349080e3bd35faff9 Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: 星期二, 19 八月 2025 14:19:40 +0800
Subject: [PATCH] 修改

---
 src/views/work/onlineEducation/offlineEducation/index.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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

--
Gitblit v1.9.2