From 15c5e70dd90a0389d70b3d855977dfd9070588fc Mon Sep 17 00:00:00 2001 From: web <candymxq888@outlook.com> Date: 星期二, 03 六月 2025 09:48:55 +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