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
3.2.20
vue 3.3.x
https://3x.antdv.com/components/tree-cn
tree组件中进行搜索
即使搜索不到 继续输入 也不应该报错 不会导致应用无法运行, 程序也能继续运行
导致程序都无法运行 即使删除搜索词也无法恢复树菜单,更新vue到3.4.x不会报错,但是vue3.4.x中 ant desing vue modal组件会有无法关闭bug
删除搜索词后 也无法恢复
treeUtil.js:322 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'parent') at getTreeNodeProps (treeUtil.js:322:1) at ReactiveEffect.eval [as fn] (TreeNode.js:49:1) at ReactiveEffect.run (reactivity.esm-bundler.js:178:1) at get value (reactivity.esm-bundler.js:1140:1) at eval (TreeNode.js:62:1) at Object.flush (eagerComputed.js:5:1)
这一行代码报错 parent: entity.parent,
var treeNodeProps = { eventKey: key, expanded: expandedKeysSet.has(key), selected: selectedKeysSet.has(key), loaded: loadedKeysSet.has(key), loading: loadingKeysSet.has(key), checked: checkedKeysSet.has(key), halfChecked: halfCheckedKeysSet.has(key), pos: String(entity ? entity.pos : ''), parent: entity.parent, // 报错
TypeError: Cannot read properties of undefined (reading 'parent')
The text was updated successfully, but these errors were encountered:
I have the same problem,would you fix it as soon as possible? @selicens
Sorry, something went wrong.
No branches or pull requests
Version
3.2.20
Environment
vue 3.3.x
Reproduction link
https://3x.antdv.com/components/tree-cn
Steps to reproduce
tree组件中进行搜索
What is expected?
即使搜索不到 继续输入 也不应该报错 不会导致应用无法运行, 程序也能继续运行
What is actually happening?
导致程序都无法运行 即使删除搜索词也无法恢复树菜单,更新vue到3.4.x不会报错,但是vue3.4.x中 ant desing vue modal组件会有无法关闭bug
删除搜索词后 也无法恢复
这一行代码报错 parent: entity.parent,
TypeError: Cannot read properties of undefined (reading 'parent')
The text was updated successfully, but these errors were encountered: