Commit 0eecff675d171646c786b2f6b1bef3d94bce7080
Committed by
GitHub
Merge pull request #133 from Hobo-clh/master
fix: 修复代码生成器的vue模板中,导出文件【xxx.xls】时,文件名不正确问题
Showing
1 changed file
with
1 additions
and
1 deletions
yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue/views/index.vue.vm
| @@ -390,7 +390,7 @@ export default { | @@ -390,7 +390,7 @@ export default { | ||
| 390 | this.exportLoading = true; | 390 | this.exportLoading = true; |
| 391 | return export${simpleClassName}Excel(params); | 391 | return export${simpleClassName}Excel(params); |
| 392 | }).then(response => { | 392 | }).then(response => { |
| 393 | - this.$download.excel(response, '${table.classComment}.xls'); | 393 | + this.#[[$]]#download.excel(response, '${table.classComment}.xls'); |
| 394 | this.exportLoading = false; | 394 | this.exportLoading = false; |
| 395 | }).catch(() => {}); | 395 | }).catch(() => {}); |
| 396 | } | 396 | } |