From b9dc397ec24875d6aeeefa77f7605b75b23365e1 Mon Sep 17 00:00:00 2001 From: chenrui <1187576398@qq.com> Date: 星期五, 07 三月 2025 17:10:33 +0800 Subject: [PATCH] bug修复 --- src/views/business/inspectionTask/components/InspectionWord.vue | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/src/views/business/inspectionTask/components/InspectionWord.vue b/src/views/business/inspectionTask/components/InspectionWord.vue index 51c9645..8e10e5c 100644 --- a/src/views/business/inspectionTask/components/InspectionWord.vue +++ b/src/views/business/inspectionTask/components/InspectionWord.vue @@ -240,8 +240,6 @@ </template> <script> -// import ValueTable from '../../tool/value-table.vue' -import file from '@/utils/file' import excelFunction from '@/utils/excelFountion' import UnPassDialog from "@/views/business/unpass/components/unPassDialog.vue"; import AddUnPass from "@/views/business/unpass/components/addUnPass.vue"; @@ -2032,7 +2030,7 @@ downFile({ id: row.id, }).then(res => { - this.$download.downloadFileFromUrl(res.data.fileUrl, row.fileName); + this.$download.saveAs(res.data.fileUrl, row.fileName); }).catch(error => { }) -- Gitblit v1.9.3