这种菜单效果是用的这个接口吗?
发布于 5 年前 作者 gxiong 5396 次浏览 来自 问答

这种效果是用的这个?

wx.showActionSheet({

itemList: [‘A’, ‘B’, ‘C’],

success(res) {

console.log(res.tapIndex)

},

fail(res) {

console.log(res.errMsg)

}

})

1 回复

这是手写的。不是wx.showActionSheet 哈

回到顶部