示例代码:
wx.showActionSheet({ itemList: ['A', 'B', 'C'], success: function(res) { if (!res.cancel) { console.log(res.tapIndex) } }})
更多微信小程序:交互反馈 API 说明相关文章请关注PHP中文网!