<view bindtap="change" data-index="{{index}}">哈哈</view> change(event){ const dataset = event.target.dataset; const index = dataset.index }
微信小程序data-传参
猜你喜欢
转载自www.cnblogs.com/qdwds/p/11707043.html
今日推荐
周排行