From eff06c110f49db6c9632b53deb5ea4b6a926d4b2 Mon Sep 17 00:00:00 2001
From: loren-li <loren-li@outlook.com>
Date: Thu, 20 Apr 2023 15:02:38 +0800
Subject: [PATCH] 修复路由跳转被阻止时vue-router内部产生报错信息问题
---
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 381e30f..3f1f930 100644
--- a/ruoyi-ui/src/views/tool/gen/index.vue
+++ b/ruoyi-ui/src/views/tool/gen/index.vue
@@ -267,7 +267,7 @@
this.$modal.msgSuccess("成功生成到自定义路径:" + row.genPath);
});
} else {
- this.$download.zip("/tool/gen/batchGenCode?tables=" + tableNames, "ruoyi");
+ this.$download.zip("/tool/gen/batchGenCode?tables=" + tableNames, "ruoyi.zip");
}
},
/** 同步数据库操作 */
@@ -305,7 +305,7 @@
return result.value || ' ';
},
/** 复制代码成功 */
- clipboardSuccess(){
+ clipboardSuccess() {
this.$modal.msgSuccess("复制成功");
},
// 多选框选中数据
--
Gitblit v1.9.2