Преглед изворни кода

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

RuoYi пре 5 година
родитељ
комит
19e5f11fd3
1 измењених фајлова са 1 додато и 1 уклоњено
  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
     /** 打开导入表弹窗 */