From d06ed39155e0f0add9ab2989d8d42289a747aec7 Mon Sep 17 00:00:00 2001 From: Hobo Date: Fri, 22 Apr 2022 16:49:58 +0800 Subject: [PATCH] fix: 修复代码生成器的vue模板中,导出文件【xxx.xls】时,文件名不正确问题 --- yudao-module-infra/yudao-module-infra-impl/src/main/resources/codegen/vue/views/index.vue.vm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yudao-module-infra/yudao-module-infra-impl/src/main/resources/codegen/vue/views/index.vue.vm b/yudao-module-infra/yudao-module-infra-impl/src/main/resources/codegen/vue/views/index.vue.vm index aac0c27..049c6c7 100644 --- a/yudao-module-infra/yudao-module-infra-impl/src/main/resources/codegen/vue/views/index.vue.vm +++ b/yudao-module-infra/yudao-module-infra-impl/src/main/resources/codegen/vue/views/index.vue.vm @@ -390,7 +390,7 @@ export default { this.exportLoading = true; return export${simpleClassName}Excel(params); }).then(response => { - this.$download.excel(response, '${table.classComment}.xls'); + this.#[[$]]#download.excel(response, '${table.classComment}.xls'); this.exportLoading = false; }).catch(() => {}); } -- libgit2 0.21.4