Commit d06ed39155e0f0add9ab2989d8d42289a747aec7

Authored by Hobo
1 parent e3ddb29c

fix: 修复代码生成器的vue模板中,导出文件【xxx.xls】时,文件名不正确问题

yudao-module-infra/yudao-module-infra-impl/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 }