From fa7bc434d8934ffbad70623ce6c103a6abdce811 Mon Sep 17 00:00:00 2001 From: AN <1983933789@qq.com> Date: Sun, 28 Sep 2025 12:23:16 +0800 Subject: [PATCH 01/14] =?UTF-8?q?fix(projects):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E7=94=9F=E6=88=90=E6=A0=91=E6=A8=A1=E6=9D=BF?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/template/api/api.ts.vm | 9 +++++++-- docs/template/index-tree.vue.vm | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/template/api/api.ts.vm b/docs/template/api/api.ts.vm index c19559e6..f910941d 100644 --- a/docs/template/api/api.ts.vm +++ b/docs/template/api/api.ts.vm @@ -1,14 +1,19 @@ import { request } from '@/service/request'; +#set($responseType = "") +#if($tplCategory == "tree") + #set($responseType = "Api.${ModuleName}.${BusinessName}[]") +#else + #set($responseType = "Api.${ModuleName}.${BusinessName}List") +#end /** 获取${functionName}列表 */ export function fetchGet${BusinessName}List (params?: Api.${ModuleName}.${BusinessName}SearchParams) { - return request({ + return request<$responseType>({ url: '/${moduleName}/${businessName}/list', method: 'get', params }); } - /** 新增${functionName} */ export function fetchCreate${BusinessName} (data: Api.${ModuleName}.${BusinessName}OperateParams) { return request({ diff --git a/docs/template/index-tree.vue.vm b/docs/template/index-tree.vue.vm index 32bdd501..4339958a 100644 --- a/docs/template/index-tree.vue.vm +++ b/docs/template/index-tree.vue.vm @@ -195,7 +195,7 @@ function handleExport() { Date: Sat, 11 Oct 2025 10:19:03 +0800 Subject: [PATCH 02/14] =?UTF-8?q?optimize(projects):=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 63 +++++++++++++++++++++++++++++++++ package.json | 2 +- src/views/system/menu/index.vue | 2 +- 3 files changed, 65 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 28799360..d65c1034 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,68 @@ # 更新日志 +## [v1.2.0](https://gitee.com/xlsea/ruoyi-plus-soybean/compare/v1.1.3...v1.2.0) (2025-09-26) + +###    🚀 新功能 + +- **components**: + - 新增 umodoc 编辑器集成  -  by @m-xlsea [(f182d)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/f182def5) +- **projects**: + - 重构登录页面样式  -  by @m-xlsea [(8412a)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/8412a8db) + - 路由兼容 activeMenu 选项  -  by @m-xlsea [(25ee3)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/25ee3207) + - 用户列表新增头像展示  -  by @m-xlsea [(3146c)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/3146c039) + - 新增岗位部门树接口  -  by **AN** [(28101)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/28101cb2) +- **styles**: + - 优化左侧树形结构样式  -  by @m-xlsea [(513dc)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/513dc31e) +- **utils**: + - 新增本地 Excel 导出工具类  -  by @m-xlsea [(7f2f3)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/7f2f3bd0) + +###    🐞 Bug 修复 + +- **components**: + - 修复字典标签会修改字典数据值问题  -  by @m-xlsea [(90a14)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/90a14e33) +- **hooks**: + - 修复下载 hooks 错误未处理  -  by @m-xlsea [(5ef1c)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/5ef1c5de) +- **packages**: + - axios: fix json response. fixed #815  -  by @soybeanjs in https://gitee.com/xlsea/ruoyi-plus-soybean/issues/815 [(fd087)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/fd087f59) + - 修复tinymce层级问题  -  by **AN** [(2c248)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/2c248d82) +- **projects**: + - 修改代码生成功能模块名为驼峰时,路由错误问题  -  by **AN** [(2f794)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/2f794c4b) + - 修复新增部门时不显示上级部门问题  -  by **AN** [(d5bbc)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/d5bbc37d) + - 修复菜单弹窗打开未清空默认值问题  -  by @m-xlsea [(ad207)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/ad207255) + - 修复退出登录未清空消息列表问题  -  by @m-xlsea [(dc2fb)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/dc2fbbd5) + - 修复菜单默认图标问题  -  by @m-xlsea [(34ab7)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/34ab7d5d) + - 修复消息通知字典值未处理问题  -  by @m-xlsea [(3f148)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/3f148a4e) + - 修复登录页面跳转问题  -  by @m-xlsea [(8aeb7)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/8aeb7362) + - 修复登录页面样式问题  -  by @m-xlsea [(4e27f)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/4e27f3b5) +- **types**: + - fix proxy types  -  by @soybeanjs [(12b25)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/12b25e0d) +- **utils**: + - 修复请求工具响应解密问题  -  by @m-xlsea [(9ef0b)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/9ef0bd41) + +###    🛠 文档 + +- **components**: 补充国际化  -  by **AN** [(ecad1)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/ecad1c3e) +- **projects**: 字典状态使用枚举值  -  by @m-xlsea [(56fd5)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/56fd5434) + +###    📖 Documentation + +- **other**: 更新 cursor 规则  -  by @m-xlsea [(e623b)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/e623b560) + +###    🏡 重构 + +- **deps**: + - update deps  -  by @soybeanjs [(e33f9)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/e33f944a) + - update deps  -  by @soybeanjs [(9fa95)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/9fa951aa) + +###    🎨 样式 + +- **components**: 修改json预览组件样式问题  -  by **AN** [(378aa)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/378aa869) +- **styles**: 修复字体样式导致下划线不可见问题  -  by **AN** [(4a424)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/4a4244b5) + +###    ❤️ 贡献者 + +[![m-xlsea](https://github.com/m-xlsea.png?size=48)](https://github.com/m-xlsea)  [![soybeanjs](https://github.com/soybeanjs.png?size=48)](https://github.com/soybeanjs)  [![Elio-An](https://github.com/Elio-An.png?size=48)](https://gitee.com/elio-an) + ## [v1.1.3](https://gitee.com/xlsea/ruoyi-plus-soybean/compare/v1.1.2...v1.1.3) (2025-08-16) ###    🐞 Bug 修复 diff --git a/package.json b/package.json index 2025ceca..35bc8998 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ruoyi-vue-plus", "type": "module", - "version": "1.1.3", + "version": "1.2.0", "description": "结合了 RuoYi-Vue-Plus 的强大后端功能和 Soybean Admin 的现代化前端特性,为开发者提供了完整的企业管理解决方案。", "author": { "name": "xlsea", diff --git a/src/views/system/menu/index.vue b/src/views/system/menu/index.vue index 16675c67..f5a32f2d 100644 --- a/src/views/system/menu/index.vue +++ b/src/views/system/menu/index.vue @@ -449,7 +449,7 @@ const btnColumns: DataTableColumns = [ {{ currentMenu.menuName?.startsWith('route.') || currentMenu.menuName?.startsWith('menu.') - ? $t(currentMenu.menuName) + ? $t(currentMenu.menuName as App.I18n.I18nKey) : currentMenu.menuName }} From 2400bf8cfa0d04db7bf4880c1fb2f8206dd4604a Mon Sep 17 00:00:00 2001 From: xlsea Date: Sat, 11 Oct 2025 11:24:25 +0800 Subject: [PATCH 03/14] =?UTF-8?q?feat(projects):=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E5=AD=97=E5=85=B8=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/dict/index.vue | 32 ++++++++++++++++++++++++++++---- 1 file changed, 28 insertions(+), 4 deletions(-) diff --git a/src/views/system/dict/index.vue b/src/views/system/dict/index.vue index d255c6b4..22d26df5 100644 --- a/src/views/system/dict/index.vue +++ b/src/views/system/dict/index.vue @@ -1,7 +1,8 @@ - + From 6696da52e46de354ab950cbda4f68167b4b4211d Mon Sep 17 00:00:00 2001 From: xlsea Date: Wed, 29 Oct 2025 09:38:50 +0800 Subject: [PATCH 13/14] =?UTF-8?q?feat(components):=20=E5=88=97=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E6=96=B0=E5=A2=9E=E6=BB=9A=E5=8A=A8=E6=9D=A1=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/advanced/table-column-setting.vue | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/src/components/advanced/table-column-setting.vue b/src/components/advanced/table-column-setting.vue index 014a51ae..b7dfacc7 100644 --- a/src/components/advanced/table-column-setting.vue +++ b/src/components/advanced/table-column-setting.vue @@ -21,7 +21,7 @@ const columns = defineModel('columns', { {{ $t('common.columnSetting') }} - +
@@ -35,4 +35,15 @@ const columns = defineModel('columns', { - + From 9f1b6647e522c35d9528c420591183c9200dfd8f Mon Sep 17 00:00:00 2001 From: xlsea Date: Wed, 29 Oct 2025 09:55:06 +0800 Subject: [PATCH 14/14] chore(projects): release v1.2.1 --- CHANGELOG.md | 44 +++++++++++++++++++++++++++++++++++++++++--- README.md | 6 ++---- package.json | 2 +- 3 files changed, 44 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d65c1034..bb39e966 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,43 @@ # 更新日志 +## [v1.2.1](https://gitee.com/xlsea/ruoyi-plus-soybean/compare/v1.2.0...v1.2.1) (2025-10-29) + +###    🚀 新功能 + +- **components**: + - 菜单树选择组件新增隐藏禁用标识  -  by @m-xlsea [(08cfa)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/08cfa167) + - 列设置新增滚动条处理  -  by @m-xlsea [(6696d)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/6696da52) +- **docs**: + - 新增 GitCode star 徽章  -  by @m-xlsea [(5310d)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/5310d352) +- **projects**: + - 优化字典操作  -  by @m-xlsea [(2400b)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/2400bf8c) + - 客户端管理新增状态修改开关  -  by @m-xlsea [(ea6a9)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/ea6a92cd) + - Iframe 类型菜单传参更改  -  by @m-xlsea [(bf3d5)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/bf3d5cb3) + - 新增同步租户参数配置功能  -  by @m-xlsea [(901a6)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/901a65ad) + +###    🐞 Bug 修复 + +- **projects**: 修复代码生成树模板问题  -  by **AN** [(fa7bc)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/fa7bc434) + +###    🛠 优化 + +- **projects**: + - 优化代码内容  -  by @m-xlsea [(9edbd)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/9edbd8e6) + - 修复菜单代码质量问题  -  by @m-xlsea [(6f349)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/6f34956e) + +###    📖 文档 + +- **other**: 更新 cursor 规则  -  by @m-xlsea [(1d6af)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/1d6af984) +- **projects**: 更新 cursor 规则  -  by @m-xlsea [(e63fe)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/e63fee59) + +###    🎨 样式 + +- **projects**: 优化注释规范  -  by @m-xlsea [(4139a)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/4139a729) + +###    ❤️ 贡献值 + +[![m-xlsea](https://github.com/m-xlsea.png?size=48)](https://gitee.com/xlsea)  [![Elio-An](https://github.com/Elio-An.png?size=48)](https://gitee.com/elio-an) + ## [v1.2.0](https://gitee.com/xlsea/ruoyi-plus-soybean/compare/v1.1.3...v1.2.0) (2025-09-26) ###    🚀 新功能 @@ -39,16 +77,16 @@ - **utils**: - 修复请求工具响应解密问题  -  by @m-xlsea [(9ef0b)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/9ef0bd41) -###    🛠 文档 +###    🛠 优化 - **components**: 补充国际化  -  by **AN** [(ecad1)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/ecad1c3e) - **projects**: 字典状态使用枚举值  -  by @m-xlsea [(56fd5)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/56fd5434) -###    📖 Documentation +###    📖 文档 - **other**: 更新 cursor 规则  -  by @m-xlsea [(e623b)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/e623b560) -###    🏡 重构 +###    🏡 杂项 - **deps**: - update deps  -  by @soybeanjs [(e33f9)](https://gitee.com/xlsea/ruoyi-plus-soybean/commit/e33f944a) diff --git a/README.md b/README.md index eaeea8fe..64f38640 100644 --- a/README.md +++ b/README.md @@ -8,11 +8,9 @@

一个基于 RuoYi-Vue-Plus 的后端能力和 Soybean Admin 前端特性的现代化多租户管理系统

- Gitee - Gitee-forks GitCode Github - Github-forks + Gitee vue typescript vite @@ -23,7 +21,7 @@ # 📢 重要通知 -1.2.0 版本已经正式发布(工作流版本请切换 [flow](https://gitee.com/xlsea/ruoyi-plus-soybean/tree/flow/) 分支查看),但仍然建议: +1.2.1 版本已经正式发布(工作流版本请切换 [flow](https://gitee.com/xlsea/ruoyi-plus-soybean/tree/flow/) 分支查看),但仍然建议: - 在生产环境使用前进行充分测试 - 关注项目更新,及时获取最新版本 - 积极反馈问题,帮助我们快速迭代 diff --git a/package.json b/package.json index 35bc8998..62abd608 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ruoyi-vue-plus", "type": "module", - "version": "1.2.0", + "version": "1.2.1", "description": "结合了 RuoYi-Vue-Plus 的强大后端功能和 Soybean Admin 的现代化前端特性,为开发者提供了完整的企业管理解决方案。", "author": { "name": "xlsea",