Handy_Cao 2 年之前
父节点
当前提交
fd210358f2
共有 1 个文件被更改,包括 1 次插入1 次删除
  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>