Explorar o código

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

daigang %!s(int64=2) %!d(string=hai) anos
pai
achega
6114ac894c
Modificáronse 1 ficheiros con 1 adicións e 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)