Selaa lähdekoodia

Merge pull request #133 from Hobo-clh/master

fix: 修复代码生成器的vue模板中,导出文件【xxx.xls】时,文件名不正确问题
芋道源码 3 vuotta sitten
vanhempi
commit
0eecff675d

+ 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(() => {});
     }