升级内容
-
升级 ant design 3.2.13、vue 3.2.39 等众多组件
-
多项功能细节优化、页面加载提升、性能大幅度提升
-
无用户数限制,无在线人数限制
升级方法
-
请与
jeesite-vue
代码仓库源码进行同步,合并代码,手动解决冲突代码。 -
如果您对
jeesite-vue
本身框架修改很少,就比较容易进行升级,如下: -
注意 BasicDrawer 的 wrapClassName 属性替换为 class
-
注意 moment 日期时间库替换为轻量级的 dayjs 日期时间库
-
使用 VScode 全局查找替换(选中:区分大小写和全字匹配):
-
_isAMomentObject
替换为format
-
replaceFields
替换为fieldNames
-
-
使用 VScode 全局查找替换(选中:正则表达式):
-
slots: \{ customRender: '(.+?)' \},
替换为slot: '$1',
-
-
注意 Antdv3 版本,表单 FormItem 下,不允许有多个表单输入组件,如果有多个请使用 FormItem 再进行嵌套一层,或者使用 FormItemRest 进行包裹排除掉即可
-
更多升级请看:https://www.antdv.com/docs/vue/migration-v3-cn
-
匹配后端版本为
JeeSite v5.2.0
,可以兼容JeeSite v5.1.0
后端升级内容
-
升级 spring boot 2.7.4、spring cloud 2021.0.4、alibaba cloud 2021.0.4.0、nacos 2.1.1、seata 1.5.2、sentinel 1.8.5、more..
-
新增 oss.client.xxx.publicUrl 参数,支持公有文件下载
-
新增 pool.poolPreparedStatements 参数,Oracle 使用
-
新增 左树右表和导入导出代码生成模板
-
优化 isInnerLogin 时忽略图片验证码检查
-
无用户数限制,无在线人数限制
后端升级方法
-
修改
pom.xml
文件中的jeesite-parent
版本号为5.2.0-SNAPSHOT
-
如果你导入了
jeesite-common
源码项目,请与git
上的代码进行同步 -
如果你导入了
jeesite-module-core
源码项目,请与git
上的代码进行同步 -
如果你是跨版本升级,请注意每一个版本的升级方法,业务上有调整的地方进行修改
-
本次跨中版本升级了 Spring Boot 及 Spring Cloud 框架,建议做下完整测试
-
OpenFeign 声明为
@GetMapping
的,请修改为@PostMapping
注解 -
执行
root/package.bat(sh)
打包脚本,强制更新依赖。
了解更多
-
JeeSite 官网地址:http://jeesite.com
-
JeeSite 在线文档:http://docs.jeesite.com
-
JeeSite 演示地址:http://demo.jeesite.com
-
JeeSite Vue 演示地址:http://vue.jeesite.com
还没有评论,来说两句吧...