From 253e2b2de124a828bc4e99cae778394faa260acb Mon Sep 17 00:00:00 2001
From: Ricky <hk_ricky@163.com>
Date: Tue, 22 Jun 2021 14:24:26 +0800
Subject: [PATCH] 增加字典标签样式回显
---
ruoyi-ui/src/utils/zipdownload.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ruoyi-ui/src/utils/zipdownload.js b/ruoyi-ui/src/utils/zipdownload.js
index 3a86814..ac2745b 100644
--- a/ruoyi-ui/src/utils/zipdownload.js
+++ b/ruoyi-ui/src/utils/zipdownload.js
@@ -36,5 +36,5 @@
aLink.setAttribute('download', fileName) // 设置下载文件名称
document.body.appendChild(aLink)
aLink.click()
- document.body.appendChild(aLink)
+ document.body.removeChild(aLink);
}
--
Gitblit v1.9.2