userNickname=给定的值 则显示一个按钮,否则不显示,咋没效果呢?
<view open-type="getUserInfo" wx:if="{{userNickName == 'sand2'}}">
<view class="showDetails"><button open-type="showDetails"><text class="action-text">获取路径</text></button></view>
</view>