weui / react-weui

weui for react
https://weui.github.io/react-weui/docs/
2.85k stars 492 forks source link

CityPicker组件的接口问题 #187

Open meiliang1123 opened 7 years ago

meiliang1123 commented 7 years ago

Do you want to request a feature or report a bug (建议还是bug) ? 建议 What is the current behavior? (现有状况) CityPick组件onChange事件返回的是字符串值,但是selected属性却需要数组类型 What is the expected behavior? (应有状况) 两处应该一致,输出的值能重新返回给组件渲染状态 Which versions of React-weui, weui, and which OS and device are affected by this issue? (React-weui版本 weui版本 机型和系统)

liu-code-hs commented 7 years ago

CityPicker引入Picker组件,但没有传lang属性,按钮默认为OK和Cancel

ityao commented 7 years ago

顶楼上, 是啊, 我也遇到这个问题

ityao commented 7 years ago

cityPicker还不能设置style, 好蛋疼

n7best commented 7 years ago

@ityao 谢谢, 下个版本修复这个问题

ityao commented 7 years ago

@n7best 下个版本大概什么时候上呢?