From bf86e5979bfe85a9ea82d5d1d33c84c6562b06bf Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期二, 24 八月 2021 14:28:20 +0800 Subject: [PATCH] update 重构 将下载excel工具提取到全局 --- ruoyi-generator/src/main/resources/vm/vue/index.vue.vm | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/ruoyi-generator/src/main/resources/vm/vue/index.vue.vm b/ruoyi-generator/src/main/resources/vm/vue/index.vue.vm index b4349c1..bf0fe5f 100644 --- a/ruoyi-generator/src/main/resources/vm/vue/index.vue.vm +++ b/ruoyi-generator/src/main/resources/vm/vue/index.vue.vm @@ -308,7 +308,6 @@ <script> import { list${BusinessName}, get${BusinessName}, del${BusinessName}, add${BusinessName}, update${BusinessName} } from "@/api/${moduleName}/${businessName}"; -import { downLoadExcel } from "@/utils/download"; export default { name: "${BusinessName}", @@ -601,7 +600,7 @@ #end /** 瀵煎嚭鎸夐挳鎿嶄綔 */ handleExport() { - downLoadExcel('/${moduleName}/${businessName}/export', this.queryParams); + this.downLoadExcel('/${moduleName}/${businessName}/export', this.queryParams); } } }; -- Gitblit v1.9.3