微信小程序的傳值與接收

小程序傳值用data-***="" 小程序 <view data-jumpurl="{{item.jumpUrl}}" bindtap="centerLink"></view> centerLink: function(e) { let jumpurl = e.currentTarget.dataset.jumpurl; console.log(jumpurl) },
相關文章
相關標籤/搜索