Explorar el Código

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

晓晓晓晓丶vv hace 4 años
padre
commit
f500ab4ef7
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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"