From f91ebd93d2b60400d7e90e9967da1d2336c580a3 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期一, 23 八月 2021 18:28:33 +0800 Subject: [PATCH] update 重构 将下载excel工具提取到全局 --- ruoyi-ui/src/views/system/config/index.vue | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/views/system/config/index.vue b/ruoyi-ui/src/views/system/config/index.vue index 69d8564..56654c8 100644 --- a/ruoyi-ui/src/views/system/config/index.vue +++ b/ruoyi-ui/src/views/system/config/index.vue @@ -182,7 +182,6 @@ <script> import { listConfig, getConfig, delConfig, addConfig, updateConfig, refreshCache } from "@/api/system/config"; -import { downLoadExcel } from "@/utils/download"; export default { name: "Config", @@ -343,7 +342,7 @@ }, /** 瀵煎嚭鎸夐挳鎿嶄綔 */ handleExport() { - downLoadExcel('/system/config/export', this.queryParams); + this.downLoadExcel('/system/config/export', this.queryParams); }, /** 鍒锋柊缂撳瓨鎸夐挳鎿嶄綔 */ handleRefreshCache() { -- Gitblit v1.9.3