You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
点击tree item
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'forEach')
at traverse (flatten.js?646f:5)
at flatten (flatten.js?646f:21)
at eval (Tree.js?9e9b:408)
at callWithErrorHandling (runtime-core.esm-bundler.js?f781:155)
at callWithAsyncErrorHandling (runtime-core.esm-bundler.js?f781:164)
at Array.job (runtime-core.esm-bundler.js?f781:1782)
at flushPreFlushCbs (runtime-core.esm-bundler.js?f781:328)
at flushJobs (runtime-core.esm-bundler.js?f781:371)
Expected results (期望的结果)
点击 label 可以直接 自动展开 或者 收起 节点
Actual results (实际的结果)
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'forEach')
Remarks (补充说明)
The text was updated successfully, but these errors were encountered:
TuSimple/naive-ui version (版本)
2.30.3
Vue version (Vue 版本)
3.2.37
Browser and its version (浏览器及其版本)
95内核 100内核 都复现
System and its version (系统及其版本)
win11
Node version (Node 版本)
Reappearance link (重现链接)
https://www.naiveui.com/zh-CN/dark/components/tree#node-props.vue
Reappearance steps (重现步骤)
官网 代码样本 异步加载 block-node expand-on-click
点击tree item
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'forEach')
at traverse (flatten.js?646f:5)
at flatten (flatten.js?646f:21)
at eval (Tree.js?9e9b:408)
at callWithErrorHandling (runtime-core.esm-bundler.js?f781:155)
at callWithAsyncErrorHandling (runtime-core.esm-bundler.js?f781:164)
at Array.job (runtime-core.esm-bundler.js?f781:1782)
at flushPreFlushCbs (runtime-core.esm-bundler.js?f781:328)
at flushJobs (runtime-core.esm-bundler.js?f781:371)
Expected results (期望的结果)
点击 label 可以直接 自动展开 或者 收起 节点
Actual results (实际的结果)
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'forEach')
Remarks (补充说明)
The text was updated successfully, but these errors were encountered: