Ver Fonte

Merge branch 'master' of https://gitee.com/raingad/lemon-im

xiekunyu há 2 anos atrás
pai
commit
de1533bcb3
2 ficheiros alterados com 2 adições e 2 exclusões
  1. 1 1
      packages/components/index.vue
  2. 1 1
      packages/index.js

+ 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)}

+ 1 - 1
packages/index.js

@@ -43,7 +43,7 @@ if (typeof window !== "undefined" && window.Vue) {
   install(window.Vue);
 }
 
-export default {
+export {
   version,
   install
 };