Merge pull request #133 from Hobo-clh/master
fix: 修复代码生成器的vue模板中,导出文件【xxx.xls】时,文件名不正确问题pull/2/head
commit
0eecff675d
|
@ -390,7 +390,7 @@ export default {
|
||||||
this.exportLoading = true;
|
this.exportLoading = true;
|
||||||
return export${simpleClassName}Excel(params);
|
return export${simpleClassName}Excel(params);
|
||||||
}).then(response => {
|
}).then(response => {
|
||||||
this.$download.excel(response, '${table.classComment}.xls');
|
this.#[[$]]#download.excel(response, '${table.classComment}.xls');
|
||||||
this.exportLoading = false;
|
this.exportLoading = false;
|
||||||
}).catch(() => {});
|
}).catch(() => {});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue