Răsfoiți Sursa

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

daigang 2 ani în urmă
părinte
comite
6114ac894c
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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)