Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修改头像后,在“个人中心”修改“昵称”等任意其他信息后保存,会将头像保存为绝对路径 #547

Open
uoooou opened this issue Mar 22, 2022 · 0 comments

Comments

@uoooou
Copy link

uoooou commented Mar 22, 2022

重现步骤(可选):
1、在右上角的用户信息处点击头像,上传新头像并保存;
2、进入“个人中心”,修改“昵称”并保存;
3、查看后台mysql的“lin_user”表,发现头像字段已保存为绝对路径,类似于http://....

期望的结果是什么?
保存头像的字段为相对路径;相对于站点的域名的路径。

实际的结果是什么?
头像的字段存储的是绝对路径

环境
前端:lin-cms-ve,vue-next分支
后端:lin-cms-spring-boot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant