diff --git a/src/ui/layout/mct-tree.vue b/src/ui/layout/mct-tree.vue index 51fb54112e..80aea7f582 100644 --- a/src/ui/layout/mct-tree.vue +++ b/src/ui/layout/mct-tree.vue @@ -76,7 +76,7 @@ @expanded="handleExpanded" />
  • @@ -140,7 +140,8 @@ export default { getChildHeight: false, settingChildrenHeight: false, isMobile: isMobile.mobileName, - multipleRootChildren: false + multipleRootChildren: false, + noVisibleItems: false }; }, computed: { @@ -318,6 +319,7 @@ export default { this.noScroll = true; } + this.noVisibleItems = false; this.updatevisibleItems(); }); } else { @@ -565,6 +567,7 @@ export default { return; } + this.noVisibleItems = true; this.visibleItems = []; await this.$nextTick(); // prevents "ghost" image of visibleItems this.childrenSlideClass = 'slide-left';