!804 代码生成器Vue2,Excel导出下载修复

Merge pull request !804 from virtuecai/master
This commit is contained in:
芋道源码 2023-12-29 14:27:21 +00:00 committed by Gitee
commit 53a64272b9
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -307,7 +307,7 @@ export default {
try { try {
this.exportLoading = true; this.exportLoading = true;
const res = await ${simpleClassName}Api.export${simpleClassName}Excel(this.queryParams); const res = await ${simpleClassName}Api.export${simpleClassName}Excel(this.queryParams);
this.#[[$]]#download.excel(res.data, '${table.classComment}.xls'); this.#[[$]]#download.excel(res, '${table.classComment}.xls');
} catch { } catch {
} finally { } finally {
this.exportLoading = false; this.exportLoading = false;