From 0bdfc406b1e7874d58ad06f1ce2e13924d626ee9 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期一, 25 十月 2021 10:14:08 +0800
Subject: [PATCH] 修复跨域访问下载无法获取download-filename

---
 src/main/resources/vm/vue/index.vue.vm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/vm/vue/index.vue.vm b/src/main/resources/vm/vue/index.vue.vm
index a555503..867225a 100644
--- a/src/main/resources/vm/vue/index.vue.vm
+++ b/src/main/resources/vm/vue/index.vue.vm
@@ -567,7 +567,7 @@
         this.exportLoading = true;
         return export${BusinessName}(queryParams);
       }).then(response => {
-        this.download(response.msg);
+        this.#[[$download]]#.name(response.msg);
         this.exportLoading = false;
       }).catch(() => {});
     }

--
Gitblit v1.9.3