Эх сурвалжийг харах

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

daigang 2 жил өмнө
parent
commit
6114ac894c

+ 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)