소스 검색

Merge pull request #133 from Hobo-clh/master

fix: 修复代码生成器的vue模板中,导出文件【xxx.xls】时,文件名不正确问题
芋道源码 3 년 전
부모
커밋
0eecff675d
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

@@ -390,7 +390,7 @@ export default {
           this.exportLoading = true;
           return export${simpleClassName}Excel(params);
         }).then(response => {
-          this.$download.excel(response, '${table.classComment}.xls');
+          this.#[[$]]#download.excel(response, '${table.classComment}.xls');
           this.exportLoading = false;
         }).catch(() => {});
     }