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