Skip to content

Commit

Permalink
修复 wx-image 无法编译问题
Browse files Browse the repository at this point in the history
  • Loading branch information
cydjohn authored Jan 21, 2018
1 parent 7d61edb commit 2eee199
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 2eee199

Please sign in to comment.