From 519ea854d57f83feb6d6e992ce85eaad0a9acaaa Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期五, 15 十月 2021 17:57:46 +0800
Subject: [PATCH] 生产环境使用路由懒加载提升页面响应速度
---
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 fe431f1..4f20b08 100644
--- a/ruoyi-ui/src/views/system/user/index.vue
+++ b/ruoyi-ui/src/views/system/user/index.vue
@@ -648,7 +648,7 @@
this.exportLoading = true;
return exportUser(queryParams);
}).then(response => {
- this.download(response.msg);
+ this.$download.name(response.msg);
this.exportLoading = false;
}).catch(() => {});
},
@@ -660,7 +660,7 @@
/** 涓嬭浇妯℃澘鎿嶄綔 */
importTemplate() {
importTemplate().then(response => {
- this.download(response.msg);
+ this.$download.name(response.msg);
});
},
// 鏂囦欢涓婁紶涓鐞�
--
Gitblit v1.9.3