From b6ee63299e5d6e072ccd6d67e71419debb2c94ef Mon Sep 17 00:00:00 2001 From: bestlee Date: Tue, 13 Oct 2026 11:45:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8B=E8=BD=BD=E6=96=87=E4=BB=B6=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=E7=BB=9F=E4=B8=80=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/docs/archives/index.vue | 2 +- src/views/docs/query/index.vue | 277 +++++++-------- src/views/home/modules/template6.vue | 483 ++++++++++++++------------- src/views/my/pendingChange/index.vue | 218 ++++++------ src/views/my/pssr/index.vue | 240 ++++++------- 5 files changed, 616 insertions(+), 604 deletions(-) diff --git a/src/views/docs/archives/index.vue b/src/views/docs/archives/index.vue index 8f75b14..1890953 100644 --- a/src/views/docs/archives/index.vue +++ b/src/views/docs/archives/index.vue @@ -411,7 +411,7 @@ const preview = (d:any) => { } // 下载资料 const download = (file:any) => { - downloadFileFun(file.file_url, file.file_name); + downloadFileFun(file?.file_url, file?.file_name || file?.doc_name); } // 上传资料 const uploadFiles = async (e:any) => { diff --git a/src/views/docs/query/index.vue b/src/views/docs/query/index.vue index 1458b16..920b004 100644 --- a/src/views/docs/query/index.vue +++ b/src/views/docs/query/index.vue @@ -236,7 +236,7 @@ const handleSelectKeys = (keys: string[],option:any) => { // 下载 const downloadFile = (file:any) => { - downloadFileFun(file.file_url, file.file_name); + downloadFileFun(file?.file_url, file?.file_name || file?.doc_name); } // 预览 @@ -354,164 +354,167 @@ onMounted(async () => {