| ruoyi-ui/src/views/tool/gen/index.vue | ●●●●● patch | view | raw | blame | history |
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) } }, /** 同步数据库操作 */