Skip to content

Commit

Permalink
fix(avatar): mock data and Account center style
Browse files Browse the repository at this point in the history
头像链接使用https,修正个人中心头像部分的位置
  • Loading branch information
mynetfan committed May 26, 2021
1 parent 93006c7 commit 2066f66
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mock/sys/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function createFakeUserList() {
userId: '1',
username: 'vben',
realName: 'Vben Admin',
avatar: 'http://q1.qlogo.cn/g?b=qq&nk=190848757&s=640',
avatar: 'https://q1.qlogo.cn/g?b=qq&nk=190848757&s=640',
desc: 'manager',
password: '123456',
token: 'fakeToken1',
Expand All @@ -23,7 +23,7 @@ function createFakeUserList() {
username: 'test',
password: '123456',
realName: 'test user',
avatar: 'http://q1.qlogo.cn/g?b=qq&nk=339449197&s=640',
avatar: 'https://q1.qlogo.cn/g?b=qq&nk=339449197&s=640',
desc: 'tester',
token: 'fakeToken2',
roles: [
Expand Down
1 change: 1 addition & 0 deletions src/views/demo/page/account/center/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@
text-align: center;
img {
margin: auto;
border-radius: 50%;
}
Expand Down

0 comments on commit 2066f66

Please sign in to comment.