wx.showActionSheet() 选择菜单

wx.showActionSheet()

选择菜单

样式截图:

示例代码:

wx.showActionSheet({
  itemList: ['A', 'B', 'C'],
  success (res) {
    console.log(res.tapIndex)
  },
  fail (res) {
    console.log(res.errMsg)
  }
})
posted @ 2020-01-09 15:27  GetcharZp  阅读(2155)  评论(0编辑  收藏  举报