소스 검색

* 修正【代码生成】无法下载的Bug,主要是URL并接少了斜杠导致URL路径不对;

qinsc 5 년 전
부모
커밋
5585a4e807
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      ruoyi-ui/src/views/tool/gen/index.vue

+ 1 - 1
ruoyi-ui/src/views/tool/gen/index.vue

@@ -241,7 +241,7 @@ export default {
         this.msgError("请选择要生成的数据");
         return;
       }
-      downLoadZip("code/gen/batchGenCode?tables=" + tableNames, "ruoyi");
+      downLoadZip("/code/gen/batchGenCode?tables=" + tableNames, "ruoyi");
     },
     /** 打开导入表弹窗 */
     openImportTable() {