...
|
...
|
@@ -12,6 +12,7 @@ import user from '../../utils/user'; |
|
|
import { login as loginModel } from '../../models';
|
|
|
import './index.scss';
|
|
|
import event from '../../utils/event.js';
|
|
|
import { getImgUrl } from '../../utils/index.js'
|
|
|
|
|
|
@connect(({ globalData }) => ({
|
|
|
globalData
|
...
|
...
|
@@ -250,7 +251,7 @@ export default class UserCenter extends Component { |
|
|
return (
|
|
|
<View className= "user-center-page" >
|
|
|
<View className="header" >
|
|
|
<Image src={ isLogin ? userInfo.avatarUrl : avatar } className = "avatar-img" > </Image>
|
|
|
<Image src={ isLogin ? getImgUrl(userInfo.avatarUrl) : avatar } className = "avatar-img" > </Image>
|
|
|
|
|
|
{
|
|
|
!isLogin &&
|
...
|
...
|
|