We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1.10.6
No response
<t-select v-model="form.test" clearable> <t-option label="启用" :value="true" /> <t-option label="禁用" :value="false" /> </t-select>
控制台报错
Invalid prop: type check failed for prop "value". Expected String | Number, got Boolean with value true. at <TOption label="启用" value=true slots=null ... > at <TSelectPanel ref=Ref< null > size="medium" multiple=false ... > at <BaseTransition onEnter=fn onAfterLeave=fn<destroyPopper> appear=true ... > at <Transition name="t-popup--animation" appear=true onEnter=fn<updatePopper> ... > at <TPopupContent onResize=fn<emitResize> onVnodeMounted=fn<onVnodeMounted> > at <TPopupContainer ref=fn<ref2> forwardRef=fn<forwardRef> onContentMounted=fn<onContentMounted> ... > at <TPopup ref="popupRef" trigger="click" placement="bottom-left" ... > at <TSelectInput autoWidth=false readonly=false borderless=false ... > at <TSelect modelValue=undefined onUpdate:modelValue=fn clearable="" > at <TFormItem label="数据状态" name="status" > at <TForm key=0 ref="queryRef" data=
3.5.13
Chrome(131.0.6778.265)
MacOS(15.2)
20
pull request
The text was updated successfully, but these errors were encountered:
👋 @Hiram-Wong,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。
Sorry, something went wrong.
fix(select): 修复 option value 为 boolean 时控制台类型错误警告(Tencent#4922)
5b0a622
No branches or pull requests
tdesign-vue-next 版本
1.10.6
重现链接
No response
重现步骤
期望结果
No response
实际结果
控制台报错
框架版本
3.5.13
浏览器版本
Chrome(131.0.6778.265)
系统版本
MacOS(15.2)
Node版本
20
补充说明
No response
IssueShoot
pull request
并合并为准The text was updated successfully, but these errors were encountered: