<block wx:if="{{aaaa}}"> <view>aaaa为 true,显示</view> </block> <block wx:else> <view>aaaa为 false,显示</view>
</block>
// 动态修改标题栏
wx.setNavigationBarTitle({
title: res.data.msg.username + '的简历'
})
<block wx:if="{{aaaa}}"> <view>aaaa为 true,显示</view> </block> <block wx:else> <view>aaaa为 false,显示</view>
</block>
// 动态修改标题栏
wx.setNavigationBarTitle({
title: res.data.msg.username + '的简历'
})