浏览代码

fix(tree): when there are too many child nodes, the parent node disappears after expansion

daigang 2 年之前
父节点
当前提交
6114ac894c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/components/tree/Tree/TreeNode/index.vue

+ 1 - 1
src/components/tree/Tree/TreeNode/index.vue

@@ -107,7 +107,7 @@ export default {
             }
           })
         }, {
-          threshold: [0.25]
+          threshold: [0]
         })
       }
       this.$observer.observe(this.$el)