Browse Source

fix(代码生成):

导出 Excel 文件的文件名, 代码生成解析异常.
jeromesoar 3 years ago
parent
commit
76d310610b

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