This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
weapp
/
C
Watch
8
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
66
Wiki
Activity
Browse Source
授权页面优化
packages
HolyKnightIX
2 years ago
parent
5f53f2bbe3
commit
28fe2d2791
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
pages/setUserInfo/index.js
+ 1
- 1
pages/setUserInfo/index.js
View File
@@ -61,7 +61,7 @@ Page({
console.log(res, 'res')
let avatarUrl = null
if (res.data.avatarUrl) {
if (res.data.avatarUrl
|| 1 * res.data.avatarUrl
) {
avatarUrl = res.data.avatarUrl
} else {
avatarUrl = defaultAvatarUrl
Write
Preview
Loading…
Cancel
Save