Explorar el Código

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

daigang hace 2 años
padre
commit
6114ac894c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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)