From 99dcbe0207eed69ed2613f3cd9a11d0529bd7265 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期一, 27 九月 2021 17:24:37 +0800 Subject: [PATCH] update 封装通用下载方法简化下载使用 --- ruoyi-ui/src/views/system/user/index.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/views/system/user/index.vue b/ruoyi-ui/src/views/system/user/index.vue index aaa202d..4faa250 100644 --- a/ruoyi-ui/src/views/system/user/index.vue +++ b/ruoyi-ui/src/views/system/user/index.vue @@ -643,7 +643,7 @@ }, /** 瀵煎嚭鎸夐挳鎿嶄綔 */ handleExport() { - this.downLoadExcel('/system/user/export', this.queryParams); + this.$download.excel('/system/user/export', this.queryParams); }, /** 瀵煎叆鎸夐挳鎿嶄綔 */ handleImport() { @@ -652,7 +652,7 @@ }, /** 涓嬭浇妯℃澘鎿嶄綔 */ importTemplate() { - this.downLoadExcel('/system/user/importTemplate'); + this.$download.excel('/system/user/importTemplate'); }, // 鏂囦欢涓婁紶涓鐞� handleFileUploadProgress(event, file, fileList) { -- Gitblit v1.9.3