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联动,第二个CityPicker弹出显示页面为空白 #284

Open
andrewyoung51 opened this issue Jun 19, 2018 · 1 comment

Comments

@andrewyoung51
Copy link

Do you want to request a feature or report a bug (建议还是bug) ?
bug
What is the current behavior? (现有状况)
我使用两个citypicker,使用第一个citypicker的选择结果,去服务端查询获得第二个citypicker使用的数据,setState刷新页面。
点击第二个citypicker,弹出的页面显示空白,没有数据。点击“确定”隐藏弹出页;
再次点击第二个citypicker,弹出的页面显示正常,有数据。
我使用react插件查看,第二个citypicker的data被更新后,groups没有及时更新(因此显示空白页),“确定”后,groups更新了,因此第二次打开正常显示。
What is the expected behavior? (应有状况)
应该只需要点击一次第二个citypicker,弹出页面显示正常,有数据。
Which versions of React-weui, weui, and which OS and device are affected by this issue? (React-weui版本 weui版本 机型和系统)
"@wlk/react-weui": "^1.0.2",
使用Android6.0版本真机,或者Chrome67在windows 7上执行,都是这样的效果

@andrewyoung51
Copy link
Author

@n7best

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

1 participant