Explorar o código

fix: 表格demo修改

hanxiaohui hai 5 meses
pai
achega
66301f19fe
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      src/views/table-demo/index.vue

+ 8 - 0
src/views/table-demo/index.vue

@@ -11,6 +11,14 @@
           </a-button>
         </a-space>
       </template>
+
+      <template #toolbarTop>
+        <a-space>
+          <a-button type="primary" size="small">新增</a-button>
+          <a-button danger size="small">删除</a-button>
+        </a-space>
+      </template>
+
       <template #toolbarLeft>
         <a-space>
           <a-button type="primary" size="small" @click="openModal"> 表格选择器弹窗 </a-button>