wx.showActionSheet在onLoad中无法显示,仅限ios设备?
wx.showActionSheet({
itemList: [‘A’, ‘B’, ‘C’],
success(res) {
console.log(res.tapIndex)
},
fail(res) {
console.log(res.errMsg)
}
});
用官方的例子跑了便还是不行
wx.showActionSheet({
itemList: [‘A’, ‘B’, ‘C’],
success(res) {
console.log(res.tapIndex)
},
fail(res) {
console.log(res.errMsg)
}
});
用官方的例子跑了便还是不行