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

用户头像上传后错位 #39

Open
Harry-zklcdc opened this issue Feb 2, 2019 · 4 comments
Open

用户头像上传后错位 #39

Harry-zklcdc opened this issue Feb 2, 2019 · 4 comments

Comments

@Harry-zklcdc
Copy link
Contributor

Harry-zklcdc commented Feb 2, 2019

用户头像上传后错位
qq 20190203160324

@Harry-zklcdc
Copy link
Contributor Author

只要在图像编辑的时候选框太大就会导致错位

@Harry-zklcdc
Copy link
Contributor Author

Harry-zklcdc commented Feb 2, 2019

已修复

修改方法:

/src/pages/oj/views/setting/children/ProfileSetting.vue

这个文件的第58行

<img :src="uploadImgSrc"/>

修改为

<img :src="uploadImgSrc" width="300px" background-position: center center/>

构建dist更换即可

@wangxso
Copy link
Contributor

wangxso commented Nov 6, 2019

你可以提一个pr

@Harry-zklcdc
Copy link
Contributor Author

你可以提一个pr

已经提过了

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

2 participants