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

TreeFilter #403

Open
xzhdev opened this issue Mar 18, 2024 · 3 comments
Open

TreeFilter #403

xzhdev opened this issue Mar 18, 2024 · 3 comments

Comments

@xzhdev
Copy link

xzhdev commented Mar 18, 2024

image 问下为什么单选要限制默认值必须是string类型
@HalseySpicy
Copy link
Owner

你可以试试不默认,单选会不会报错,之前我写的时候会报错

@xzhdev
Copy link
Author

xzhdev commented Mar 19, 2024

@HalseySpicy 没明白大佬您的不默认是什么意思,我的意思是这样写,默认值传number值,例如传10 ,selected也就变成空字符串,不能设置数字类型的默认值高亮了,我多加了一个number类型,像这样
image

@attachmentList
Copy link

我改成number 不报错,可能 pnpm update 升级包导致?

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