Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CityPicker的onChange在点击确定的时候执行了2次 #255

Open
yangbin1994 opened this issue Aug 22, 2017 · 2 comments
Open

CityPicker的onChange在点击确定的时候执行了2次 #255

yangbin1994 opened this issue Aug 22, 2017 · 2 comments

Comments

@yangbin1994
Copy link

yangbin1994 commented Aug 22, 2017

具体是在第一次的时候,会触发2次,参见
https://codepen.io/yangbin1994/pen/dzeNYq?editors=1111

@tsheng
Copy link

tsheng commented Dec 16, 2017

@yangbin1994 我也遇到这个问题了,现在这个问题修复了吗?我调试了一下代码,应该是city_picker.js#167 行有问题,在处理选择没有变化的时候,应该是走另外一个分支,但是仍然出发了onChange

@ruoru
Copy link

ruoru commented Jan 18, 2018

#219

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants