<view bindtap="change" data-index="{{index}}">哈哈</view> change(event){ const dataset = event.target.dataset; const index = dataset.index }
2023-11-02 19:32:58
<view bindtap="change" data-index="{{index}}">哈哈</view> change(event){ const dataset = event.target.dataset; const index = dataset.index }