微信小程序开发常用方法
时间:2017-08-26 17:12:30
收藏:0
阅读:257
1、data中的数据,想要在函数中更改的方法
_this.setData({ // 日历数据 signList: dataList, // 当前日期 todayDay: str })
2、if判断
wx:if="{{item.id && item.lessNum != 0}}"
3、for循环
<block wx:for="{{signList}}" wx:key="unique"></block>
4、
评论(0)