add Picker.select() feature

This commit is contained in:
jinlongtao
2017-01-16 14:02:11 +08:00
parent f50741fd9a
commit a10c5bddbe
4 changed files with 56 additions and 4 deletions

View File

@@ -55,6 +55,10 @@ export default {
Picker.hide();
},
select(data) {
Picker.select(data)
},
toggle(){
this.isPickerShow(show => {
if(show){