src/views/build/conpanyFunctionConsult/standardSysTemp/recordStandardModule/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(() => {