From 72f3971ca2defcd85f2db2a726eb7b012ff5b396 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期二, 24 八月 2021 13:38:15 +0800 Subject: [PATCH] update 重构 将下载excel工具提取到全局 --- ruoyi-ui/src/utils/ruoyi.js | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-) diff --git a/ruoyi-ui/src/utils/ruoyi.js b/ruoyi-ui/src/utils/ruoyi.js index f2765f0..b426a31 100644 --- a/ruoyi-ui/src/utils/ruoyi.js +++ b/ruoyi-ui/src/utils/ruoyi.js @@ -1,4 +1,4 @@ -锘�/** +/** * 閫氱敤js鏂规硶灏佽澶勭悊 * Copyright (c) 2019 ruoyi */ @@ -93,11 +93,6 @@ }) }) return actions.join('').substring(0, actions.join('').length - 1); -} - -// 閫氱敤涓嬭浇鏂规硶 -export function download(fileName) { - window.location.href = baseURL + "/common/download?fileName=" + encodeURI(fileName) + "&delete=" + true; } // 瀛楃涓叉牸寮忓寲(%s ) -- Gitblit v1.9.3