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

渲染 switch 问题 #7

Open
ksbaozi opened this issue Nov 18, 2021 · 0 comments
Open

渲染 switch 问题 #7

ksbaozi opened this issue Nov 18, 2021 · 0 comments

Comments

@ksbaozi
Copy link

ksbaozi commented Nov 18, 2021

目前由于 propData 为空字符串,在渲染 switch 得时候空字符串显示switch 为 true,但是在逻辑上认为此时 switch 应该为未选中状态。
所以建议在 switch 中默认值改为 false

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