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

This commit is contained in:
Hobo 2022-04-22 16:49:58 +08:00
parent e3ddb29c18
commit d06ed39155

View File

@ -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(() => {});
}