mirror of
https://gitee.com/y_project/RuoYi-Vue.git
synced 2026-08-19 18:49:39 +08:00
Compare commits
2 Commits
964480d2f7
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a6ea55ecf7 | ||
|
|
ee5e1e95b4 |
28
README.md
28
README.md
@@ -13,16 +13,16 @@
|
|||||||
|
|
||||||
若依是一套全部开源的快速开发平台,毫无保留给个人及企业免费使用。
|
若依是一套全部开源的快速开发平台,毫无保留给个人及企业免费使用。
|
||||||
|
|
||||||
* 前端采用Vue、Element UI。
|
* 前端采用Vue、Element(提供 Vue2/Vue3/TS 多版本)。
|
||||||
* 后端采用Spring Boot、Spring Security、Redis & Jwt。
|
* 后端采用Spring Boot、Spring Security、Redis & Jwt。
|
||||||
* 权限认证使用Jwt,支持多终端认证系统。
|
* 基于Jwt的Token认证,支持多终端(Web、App、小程序)无缝接入。
|
||||||
* 支持加载动态权限菜单,多方式轻松权限控制。
|
* 支持加载动态权限菜单,多方式轻松权限控制,细粒度到按钮级别。
|
||||||
* 高效率开发,使用代码生成器可以一键生成前后端代码。
|
* 内置强大代码生成器,一键生成前后端代码(java、vue、xml、sql),支持 CRUD 下载。
|
||||||
* 阿里云折扣场:[点我进入](http://aly.ruoyi.vip),腾讯云秒杀场:[点我进入](http://txy.ruoyi.vip)
|
* 阿里云折扣场:[点我进入](http://aly.ruoyi.vip),腾讯云秒杀场:[点我进入](http://txy.ruoyi.vip)
|
||||||
|
|
||||||
# 版本分支
|
# 版本分支
|
||||||
|
|
||||||
RuoYi-Vue 后端项目提供 Spring Boot 2.x / 3.x / 4.x 多版本分支的并行维护。
|
RuoYi-Vue 后端项目提供 Spring Boot 2.x / 3.x / 4.x 多版本分支的并行维护
|
||||||
|
|
||||||
| 名称 | 说明 | 地址 |
|
| 名称 | 说明 | 地址 |
|
||||||
| :---------------- | :------------------------ | :------------------------------------------------------ |
|
| :---------------- | :------------------------ | :------------------------------------------------------ |
|
||||||
@@ -30,16 +30,16 @@ RuoYi-Vue 后端项目提供 Spring Boot 2.x / 3.x / 4.x 多版本分支的并
|
|||||||
| springboot3 分支 | Spring Boot 3.x (JDK 17+) | https://gitee.com/y_project/RuoYi-Vue/tree/springboot3 |
|
| springboot3 分支 | Spring Boot 3.x (JDK 17+) | https://gitee.com/y_project/RuoYi-Vue/tree/springboot3 |
|
||||||
| springboot2 分支 | Spring Boot 2.x (JDK 8+) | https://gitee.com/y_project/RuoYi-Vue/tree/springboot2 |
|
| springboot2 分支 | Spring Boot 2.x (JDK 8+) | https://gitee.com/y_project/RuoYi-Vue/tree/springboot2 |
|
||||||
|
|
||||||
RuoYi-Vue 前端项目提供 Vue 2.x / 3.x / JavaScript TypeScript 版本均可混用搭配
|
RuoYi-Vue 前端项目提供 Vue 2.x / 3.x / JavaScript / TypeScript 版本,均可混用搭配
|
||||||
|
|
||||||
| 项目名称 | **RuoYi-Vue** | **RuoYi-Vue3** | **RuoYi-Vue3-TypeScript** |
|
| 项目名称 | **RuoYi-Vue2** | **RuoYi-Vue3** | **RuoYi-Vue3-TypeScript** |
|
||||||
| :--- | :--- | :--- | :--- |
|
| :--- | :--- | :--- | :--- |
|
||||||
| **前端框架** | Vue 2 | Vue 3 | Vue 3 |
|
| **前端框架** | Vue 2 | Vue 3 | Vue 3 |
|
||||||
| **脚本语言** | JavaScript | JavaScript | TypeScript |
|
| **脚本语言** | JavaScript | JavaScript | TypeScript |
|
||||||
| **构建工具** | Vue CLI | Vite | Vite |
|
| **构建工具** | Vue CLI | Vite | Vite |
|
||||||
| **UI 组件库** | Element UI | Element Plus | Element Plus |
|
| **UI 组件库** | Element UI | Element Plus | Element Plus |
|
||||||
| **状态管理** | Vuex | Pinia | Pinia |
|
| **状态管理** | Vuex | Pinia | Pinia |
|
||||||
| **路由管理** | Vue Router 3 | Vue Router 4 | Vue Router 4 |
|
| **路由管理** | Vue Router 3 | Vue Router 4 | Vue Router 4 |
|
||||||
| **核心特点** | 1. 技术栈经典稳定<br>2. 社区资料丰富<br>3. 当前维护重心已转移 | 1. 现代前端技术栈<br>2. 开发体验与性能更优<br>3. 官方主推的活跃版本 | 1. 类型加持,减少沟通成本<br>2. 开发时有提示,效率更高<br>3. 多人协作企业级开发项目 |
|
| **核心特点** | 1. 技术栈经典稳定<br>2. 社区资料丰富<br>3. 当前维护重心已转移 | 1. 现代前端技术栈<br>2. 开发体验与性能更优<br>3. 官方主推的活跃版本 | 1. 类型加持,减少沟通成本<br>2. 开发时有提示,效率更高<br>3. 多人协作企业级开发项目 |
|
||||||
| **仓库地址** | [RuoYi-Vue2](https://gitcode.com/yangzongzhuan/RuoYi-Vue2) | [RuoYi-Vue3](https://gitcode.com/yangzongzhuan/RuoYi-Vue3) | [RuoYi-Vue3-TypeScript](https://gitcode.com/yangzongzhuan/RuoYi-Vue3/tree/typescript) |
|
| **仓库地址** | [RuoYi-Vue2](https://gitcode.com/yangzongzhuan/RuoYi-Vue2) | [RuoYi-Vue3](https://gitcode.com/yangzongzhuan/RuoYi-Vue3) | [RuoYi-Vue3-TypeScript](https://gitcode.com/yangzongzhuan/RuoYi-Vue3/tree/typescript) |
|
||||||
|
|
||||||
|
|||||||
2
pom.xml
2
pom.xml
@@ -26,7 +26,7 @@
|
|||||||
<fastjson.version>2.0.64</fastjson.version>
|
<fastjson.version>2.0.64</fastjson.version>
|
||||||
<oshi.version>7.4.4</oshi.version>
|
<oshi.version>7.4.4</oshi.version>
|
||||||
<commons.io.version>2.22.0</commons.io.version>
|
<commons.io.version>2.22.0</commons.io.version>
|
||||||
<poi.version>4.1.2</poi.version>
|
<poi.version>5.5.1</poi.version>
|
||||||
<velocity.version>2.3</velocity.version>
|
<velocity.version>2.3</velocity.version>
|
||||||
<jwt.version>0.9.1</jwt.version>
|
<jwt.version>0.9.1</jwt.version>
|
||||||
<jaxb-api.version>2.3.1</jaxb-api.version>
|
<jaxb-api.version>2.3.1</jaxb-api.version>
|
||||||
|
|||||||
@@ -1010,13 +1010,13 @@ public class ExcelUtil<T>
|
|||||||
style.cloneStyleFrom(styles.get("data"));
|
style.cloneStyleFrom(styles.get("data"));
|
||||||
style.setAlignment(HorizontalAlignment.CENTER);
|
style.setAlignment(HorizontalAlignment.CENTER);
|
||||||
style.setVerticalAlignment(VerticalAlignment.CENTER);
|
style.setVerticalAlignment(VerticalAlignment.CENTER);
|
||||||
style.setFillForegroundColor(excel.headerBackgroundColor().index);
|
style.setFillForegroundColor(excel.headerBackgroundColor().getIndex());
|
||||||
style.setFillPattern(FillPatternType.SOLID_FOREGROUND);
|
style.setFillPattern(FillPatternType.SOLID_FOREGROUND);
|
||||||
Font headerFont = wb.createFont();
|
Font headerFont = wb.createFont();
|
||||||
headerFont.setFontName("Arial");
|
headerFont.setFontName("Arial");
|
||||||
headerFont.setFontHeightInPoints((short) 10);
|
headerFont.setFontHeightInPoints((short) 10);
|
||||||
headerFont.setBold(true);
|
headerFont.setBold(true);
|
||||||
headerFont.setColor(excel.headerColor().index);
|
headerFont.setColor(excel.headerColor().getIndex());
|
||||||
style.setFont(headerFont);
|
style.setFont(headerFont);
|
||||||
// 设置表格头单元格文本形式
|
// 设置表格头单元格文本形式
|
||||||
DataFormat dataFormat = wb.createDataFormat();
|
DataFormat dataFormat = wb.createDataFormat();
|
||||||
@@ -1088,7 +1088,7 @@ public class ExcelUtil<T>
|
|||||||
Font dataFont = wb.createFont();
|
Font dataFont = wb.createFont();
|
||||||
dataFont.setFontName("Arial");
|
dataFont.setFontName("Arial");
|
||||||
dataFont.setFontHeightInPoints((short) 10);
|
dataFont.setFontHeightInPoints((short) 10);
|
||||||
dataFont.setColor(excel.color().index);
|
dataFont.setColor(excel.color().getIndex());
|
||||||
style.setFont(dataFont);
|
style.setFont(dataFont);
|
||||||
if (ColumnType.TEXT == excel.cellType())
|
if (ColumnType.TEXT == excel.cellType())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user