题目内容
(请给出正确答案)
[单选题]
以下代码片段,如果成功运行并点击菜单项A,则在console面板中显示的结果为()wx.showActionSheet({itemList:['A','B','C'],success(res){console.log(res.tapIndex)},fail(res){console.log(res.errMsg)}})
A.0
B.1
C.2
D.3
答案
查看答案