diff --git a/src/views/tool/gen/index.vue b/src/views/tool/gen/index.vue index c0bc943..8c9ce6a 100644 --- a/src/views/tool/gen/index.vue +++ b/src/views/tool/gen/index.vue @@ -222,7 +222,7 @@ function handleGenTable(row) { proxy.$modal.msgSuccess("成功生成到自定义路径:" + row.genPath); }); } else { - proxy.$download.zip("/tool/gen/batchGenCode?tables=" + tbNames, "ruoyi"); + proxy.$download.zip("/tool/gen/batchGenCode?tables=" + tbNames, "ruoyi.zip"); } } /** 同步数据库操作 */