摘要: 1条件渲染: 小程序:用 wx:if="{{condition}}" 来判断是否需要渲染该代码块。 <view wx:if="{{condition}}"> True </view> ng2: 用 *ngIf="condition"来判断是否需要渲染该代码块。 <p *ngIf="condition 阅读全文
posted @ 2016-09-28 23:06 Runlin 阅读(2729) 评论(0) 推荐(0)