Handy_Cao 2 anni fa
parent
commit
fd210358f2
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/packages/pc/components/layouts/header/index.vue

+ 1 - 1
src/packages/pc/components/layouts/header/index.vue

@@ -29,7 +29,7 @@
                 </template>
             </el-dropdown>
         </div>
-        <component :is="componentMap.get(componentId)" @closed="closeComponent" v-if="componentId" />
+        <component ref="componentRef" :is="componentMap.get(componentId)" @closed="closeComponent" v-if="componentId" />
     </div>
 </template>