mui.popPicker()该如何调用,文档中所写的代码块无法索引,
var picker = new mui.PopPicker();
picker.setData([{value:'zz',text:'智子'}]);
picker.show(function (selectItems) {
console.log(selectItems[0].text);//智子
console.log(selectItems[0].value);//zz
})
该实例应该如何使用?
带有选择的对话框很重要啊!
PercyCJ (作者)
找到例子了!谢谢
2016-08-16 11:44