wx.showActionSheet() 取消按钮怎么能设置成英文?
wx.showActionSheet({
itemList: ['China', 'USA'],
success (res) {
console.log(res.tapIndex)
},
fail (res) {
console.log(res.errMsg)
}
})
wx.showActionSheet({
itemList: ['China', 'USA'],
success (res) {
console.log(res.tapIndex)
},
fail (res) {
console.log(res.errMsg)
}
})