mirror of
https://github.com/YunaiV/ruoyi-vue-pro.git
synced 2025-10-28 04:26:02 +08:00
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:
@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user