update yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue/views/index.vue.vm.

excel export download file bug fix

Signed-off-by: virtuecai <virtuecai@163.com>
This commit is contained in:
virtuecai 2023-12-18 02:42:36 +00:00 committed by Gitee
parent 1e5b0a1c0d
commit 4cd36b2502
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -307,7 +307,7 @@ export default {
try {
this.exportLoading = true;
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 {
} finally {
this.exportLoading = false;