From f01aa3739461c2a5014c9ddea22d6e619b3bf696 Mon Sep 17 00:00:00 2001 From: BlossomWave <316975215@qq.com> Date: 星期一, 24 十月 2022 16:25:33 +0800 Subject: [PATCH] update ruoyi-ui/src/views/system/user/profile/userAvatar.vue. 默认修改头像时如果上传的图片为png透明图片,生成的头像透明部分会变成黑色,修改了生成头像为png格式。可正常显示图片透明部分。 --- ruoyi-admin/pom.xml | 22 +++++----------------- 1 files changed, 5 insertions(+), 17 deletions(-) diff --git a/ruoyi-admin/pom.xml b/ruoyi-admin/pom.xml index 3257d8c..d5e400d 100644 --- a/ruoyi-admin/pom.xml +++ b/ruoyi-admin/pom.xml @@ -5,7 +5,7 @@ <parent> <artifactId>ruoyi</artifactId> <groupId>com.ruoyi</groupId> - <version>3.2.1</version> + <version>3.8.4</version> </parent> <modelVersion>4.0.0</modelVersion> <packaging>jar</packaging> @@ -24,29 +24,17 @@ <optional>true</optional> <!-- 表示依赖不会传递 --> </dependency> - <!-- swagger2--> + <!-- swagger3--> <dependency> <groupId>io.springfox</groupId> - <artifactId>springfox-swagger2</artifactId> + <artifactId>springfox-boot-starter</artifactId> </dependency> - <!--防止进入swagger页面报类型转换错误,排除2.9.2中的引用,手动增加1.5.21版本--> - <dependency> - <groupId>io.swagger</groupId> - <artifactId>swagger-annotations</artifactId> - <version>1.5.21</version> - </dependency> - + <!-- 防止进入swagger页面报类型转换错误,排除3.0.0中的引用,手动增加1.6.2版本 --> <dependency> <groupId>io.swagger</groupId> <artifactId>swagger-models</artifactId> - <version>1.5.21</version> - </dependency> - - <!-- swagger2-UI--> - <dependency> - <groupId>io.springfox</groupId> - <artifactId>springfox-swagger-ui</artifactId> + <version>1.6.2</version> </dependency> <!-- Mysql驱动包 --> -- Gitblit v1.9.2