diff --git a/ruoyi-ui/src/views/tool/gen/index.vue b/ruoyi-ui/src/views/tool/gen/index.vue index 3d71204b4..13b6652f2 100644 --- a/ruoyi-ui/src/views/tool/gen/index.vue +++ b/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() {