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

动态设置选中项 #11

Open
wangyankun33 opened this issue Feb 18, 2019 · 1 comment
Open

动态设置选中项 #11

wangyankun33 opened this issue Feb 18, 2019 · 1 comment

Comments

@wangyankun33
Copy link

我需要在 切换到循环时,显示菜单,如果之前已经选择过菜单,切换之后选中项会一直选中,请问这个如何动态设置选中项?
image

@wangyankun33
Copy link
Author

我需要在 切换到循环时,显示菜单,如果之前已经选择过菜单,切换之后选中项会一直选中,请问这个如何动态设置选中项?
image

我已经解决,主要在 buildDropdownMenuKq 时,加上条件就可以了!
例如 topRadio=='全部'||topRadio=='动态'?Container():buildDropdownMenuKq()

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