Commit b9b470f4df1cd57ca501666b6b3270a4d4d4f873

Authored by Vben
1 parent 1e4a250d

fix(drawer): ensure the slot is working

src/components/Drawer/src/BasicDrawer.vue
... ... @@ -12,6 +12,9 @@
12 12 </template>
13 13 </DrawerHeader>
14 14 </template>
  15 + <template v-else #title>
  16 + <slot name="title"></slot>
  17 + </template>
15 18  
16 19 <ScrollContainer
17 20 :style="getScrollContentStyle"
... ...