Skip to content

Commit

Permalink
Merge pull request xwartz#22 from cydjohn/patch-1
Browse files Browse the repository at this point in the history
修复 wx-image 无法编译问题
  • Loading branch information
xwartz authored Jan 22, 2018
2 parents 7d61edb + 2eee199 commit e23c943
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion page/API/get-user-info/get-user-info.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<text class="page-body-text">点击绿色按钮可获取用户头像及昵称</text>
</block>
<block wx:if="{{hasUserInfo === true}}">
<wx-image class="userinfo-avatar" src="{{userInfo.avatarUrl}}"></wx-image>
<image class="userinfo-avatar" src="{{userInfo.avatarUrl}}"></image>
<text class="userinfo-nickname">{{userInfo.nickName}}</text>
</block>
</view>
Expand Down

0 comments on commit e23c943

Please sign in to comment.