From 7bdd20ec2412b280d9ece5da76a6e7f36439bfb8 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: Sat, 04 Jul 2020 15:59:53 +0800
Subject: [PATCH] 修改文件编码格式utf-8

---
 ruoyi-ui/src/views/tool/gen/index.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ruoyi-ui/src/views/tool/gen/index.vue b/ruoyi-ui/src/views/tool/gen/index.vue
index 3d71204..74697a8 100644
--- a/ruoyi-ui/src/views/tool/gen/index.vue
+++ b/ruoyi-ui/src/views/tool/gen/index.vue
@@ -241,7 +241,7 @@
         this.msgError("请选择要生成的数据");
         return;
       }
-      downLoadZip("code/gen/batchGenCode?tables=" + tableNames, "ruoyi");
+      downLoadZip("/code/gen/batchGenCode?tables=" + tableNames, "ruoyi");
     },
     /** 打开导入表弹窗 */
     openImportTable() {
@@ -270,7 +270,7 @@
     /** 修改按钮操作 */
     handleEditTable(row) {
       const tableId = row.tableId || this.ids[0];
-      this.$router.push({ path: "/gen/edit", query: { tableId: tableId } });
+      this.$router.push("/gen/edit/" + tableId);
     },
     /** 删除按钮操作 */
     handleDelete(row) {

--
Gitblit v1.9.3