wu.showAction(object) // wu.showAction({title: '示例标题',deleteText: '', // string - 点击删除时弹出框的确认消息menuArray: [{title: '示例菜单一',value: 'menu1',color: ''},{title: '示例菜单二',value: 'menu2',color: ''},{title: 'Delete',value: 'delete',color: 'red'} //如果是删除 value 必须是 "delete"],success: function(res) {if (res.value == "delete") {wu.showToast({title: "已删除",duration: 1500})} else {wu.showToast({title: res.title})}}})上述代码,我想实现点示例击菜单一,跳转到百度,点击示例菜单二,跳转到谷歌,怎么写啊?
添加回答
举报
0/150
提交
取消