From 0b09d7c1da7f14f25a1011a6d04ec73171ff05a0 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: Mon, 05 Jan 2026 14:50:53 +0800
Subject: [PATCH] copyright 2026
---
ruoyi-ui/src/views/tool/gen/index.vue | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/ruoyi-ui/src/views/tool/gen/index.vue b/ruoyi-ui/src/views/tool/gen/index.vue
index 972736b..382b354 100644
--- a/ruoyi-ui/src/views/tool/gen/index.vue
+++ b/ruoyi-ui/src/views/tool/gen/index.vue
@@ -253,7 +253,8 @@
this.$modal.msgSuccess("成功生成到自定义路径:" + row.genPath)
})
} else {
- this.$download.zip("/code/gen/batchGenCode?tables=" + tableNames, "ruoyi.zip")
+ const zipName = Array.isArray(tableNames) ? "ruoyi.zip" : tableNames + ".zip"
+ this.$download.zip("/code/gen/batchGenCode?tables=" + tableNames, zipName)
}
},
/** 同步数据库操作 */
--
Gitblit v1.9.3