Sfoglia il codice sorgente

修复代码生成下载路径错误

RuoYi 5 anni fa
parent
commit
19e5f11fd3
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      ruoyi-ui/src/views/tool/gen/index.vue

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

@@ -256,7 +256,7 @@ export default {
256 256
           this.msgSuccess("成功生成到自定义路径:" + row.genPath);
257 257
         });
258 258
       } else {
259
-        downLoadZip("/tool/gen/batchGenCode?tables=" + tableNames, "ruoyi");
259
+          downLoadZip("/code/gen/batchGenCode?tables=" + tableNames, "ruoyi");
260 260
       }
261 261
     },
262 262
     /** 打开导入表弹窗 */