Przeglądaj źródła

🎨 feature(drawer-wrapper): add tool-bar slots

晓晓晓晓丶vv 4 lat temu
rodzic
commit
f500ab4ef7
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      src/components/drawer-wrapper/index.vue

+ 1 - 0
src/components/drawer-wrapper/index.vue

@@ -4,6 +4,7 @@
             :width="width"
             :destroy-on-close="destroyOnClose"
             :placement="placement">
+    <slot name="tool-bar" />
     <a-table :rowKey="rowKey"
              :columns="columns"
              :data-source="source"