-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
selectTree使用treeData,添加showSearch,搜索没有的值,报js错误 #2082
Labels
Comments
tangjinzhou
added a commit
that referenced
this issue
Apr 18, 2020
Error in nextTick: "TypeError: Cannot read property 'domTreeNodes' of null", 未修复到,搜索没有的值之后,鼠标移开,使该组件失去焦点,再次点击下拉,还是会报上面的错 |
if (!isMultiple && selectorValueList.length && open && _this2.popup&&_this2.popup.hasOwnProperty('domTreeNodes')) |
单选的情况,多选没有该问题 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Version
1.5.1
Environment
vue 2.5.17 ,Chrome浏览器, mac
Reproduction link
Steps to reproduce
1.选择一个值
2.再到搜索框中输入 列表中没有的字段
3.点击任意地方,是输入框失去焦点,问题出现了 :
Cannot read property 'domTreeNodes' of null
at VueComponent.eval (https://wvz9o.csb.app/node_modules/ant-design-vue/lib/vc-tree-select/src/Select.js:281:45)
4.Error in nextTick: "TypeError: Cannot read property 'domTreeNodes' of null", 未修复到,搜索没有的值之后,鼠标移开,使该组件失去焦点,再次点击下拉,还是会报上面的错,单选的情况,多选没有该问题
What is expected?
不报错
What is actually happening?
这个问题在1.4.*的版本是没有,1.5.0到1.5.3 都有这个问题
The text was updated successfully, but these errors were encountered: