From 337f6fd3dbb2f44be6eabe4d65828fce7a81a42e Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: Thu, 30 Jul 2020 18:12:39 +0800
Subject: [PATCH] 修复 utils/index.js 中不包含 parseTime 函数的 bug

---
 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