From c29c0efe096aed6d8349f227f909508f8a49c16a Mon Sep 17 00:00:00 2001 From: web <candymxq888@outlook.com> Date: 星期一, 31 三月 2025 16:52:07 +0800 Subject: [PATCH] fix:修改首页标点 --- src/utils/index.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/index.js b/src/utils/index.js index 8994d62..c86a731 100644 --- a/src/utils/index.js +++ b/src/utils/index.js @@ -476,12 +476,12 @@ /** * blob文件流导出 */ -export function exportBlobFile(blob) { +export function exportBlobFile(blob, name) { const link = document.createElement('a') const url = URL || window.webkitURL const href = url.createObjectURL(blob) link.href = href; - link.download = '报警记录.xlsx' + link.download = name + '.xlsx' link.click() } -- Gitblit v1.9.3