wx.showActionSheet没有回显的选中样式?
发布于 5 年前 作者 lijin 1473 次浏览 来自 问答

wx.showActionSheet没有回显的选中样式。

2 回复

官方例子

wx.showActionSheet({
  itemList: ['A', 'B', 'C'],
  success (res) {
    console.log(res.tapIndex)
  },
  fail (res) {
    console.log(res.errMsg)
  }
})

手写一个

回到顶部