From 7fd4860ff23d3b0d928ea1af8861d2c33c507e0e Mon Sep 17 00:00:00 2001 From: RuoYi Date: Sun, 13 Dec 2020 17:08:51 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E4=BB=A3=E7=A0=81=E7=94=9F?= =?UTF-8?q?=E6=88=90=E9=A1=B5=E5=88=97=E5=AE=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/tool/gen/index.vue | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/ruoyi-ui/src/views/tool/gen/index.vue b/ruoyi-ui/src/views/tool/gen/index.vue index db4fd27..a9145f8 100644 --- a/ruoyi-ui/src/views/tool/gen/index.vue +++ b/ruoyi-ui/src/views/tool/gen/index.vue @@ -91,21 +91,21 @@ align="center" prop="tableName" :show-overflow-tooltip="true" - width="130" + width="120" /> @@ -159,13 +159,13 @@ - - + @@ -177,6 +177,7 @@ import { listTable, previewTable, delTable, genCode, synchDb } from "@/api/tool/gen"; import importTable from "./importTable"; import { downLoadZip } from "@/utils/zipdownload"; + export default { name: "Gen", components: { importTable }, @@ -256,7 +257,7 @@ export default { this.msgSuccess("成功生成到自定义路径:" + row.genPath); }); } else { - downLoadZip("/code/gen/batchGenCode?tables=" + tableNames, "ruoyi"); + downLoadZip("/tool/gen/batchGenCode?tables=" + tableNames, "ruoyi"); } }, /** 同步数据库操作 */