Explorar o código

fix(drawer): ensure the slot is working

Vben %!s(int64=4) %!d(string=hai) anos
pai
achega
b9b470f4df
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      src/components/Drawer/src/BasicDrawer.vue

+ 3 - 0
src/components/Drawer/src/BasicDrawer.vue

@@ -12,6 +12,9 @@
         </template>
       </DrawerHeader>
     </template>
+    <template v-else #title>
+      <slot name="title"></slot>
+    </template>
 
     <ScrollContainer
       :style="getScrollContentStyle"