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
最新版本也存在
链接
异步加载需要设置children为true,但是如果设置了children为true的话,就无法选中未全部展示的节点
这里一直异步加载children,所以无法选择这个节点,只有当节点全部展示完才可以选中
可以直接选中
无法选中未全部展示的节点
No response
当遇到异步加载数据时,无法直接选中前面的值,而且拿到的值是一个vue的watch的监听对象__obj__,出现bug
The text was updated successfully, but these errors were encountered:
👋 @zzyyhh22lx,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。
Sorry, something went wrong.
需要使用checkStrictly属性,通过treeProps传递
checkStrictly
<template> <t-tree-select :data="options" multiple v-model="value" placeholder="请选择" :treeProps="{ load: loadFunc, checkStrictly: true }" /> </template>
https://stackblitz.com/edit/jdvepk-5ult6u?file=src%2Fdemo.vue
No branches or pull requests
tdesign-vue 版本
最新版本也存在
重现链接
链接
重现步骤
异步加载需要设置children为true,但是如果设置了children为true的话,就无法选中未全部展示的节点
这里一直异步加载children,所以无法选择这个节点,只有当节点全部展示完才可以选中
期望结果
可以直接选中
实际结果
无法选中未全部展示的节点
框架版本
No response
浏览器版本
No response
系统版本
No response
Node版本
No response
补充说明
当遇到异步加载数据时,无法直接选中前面的值,而且拿到的值是一个vue的watch的监听对象__obj__,出现bug
The text was updated successfully, but these errors were encountered: