Parcourir la source

修复多个renderContainer时,渲染异常bug

Signed-off-by: 浮生若梦张 <17610759700@163.com>
浮生若梦张 il y a 2 ans
Parent
commit
5435b71e81
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      packages/components/index.vue

+ 1 - 1
packages/components/index.vue

@@ -473,7 +473,7 @@ export default {
       let defIsShow = true;
       for (const name in this.CacheContactContainer.get()) {
         const show = curact.id == name && this.currentIsDefSidebar;
-        defIsShow = !show;
+        if(show)defIsShow = !show;
         nodes.push(
           <div class={cls} v-show={show}>
             {this.CacheContactContainer.get(name)}