فهرست منبع

!804 代码生成器Vue2,Excel导出下载修复
Merge pull request !804 from virtuecai/master

芋道源码 1 سال پیش
والد
کامیت
53a64272b9
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue/views/index.vue.vm

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

@@ -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;