浏览代码

fix: 表格demo修改

hanxiaohui 5 月之前
父节点
当前提交
66301f19fe
共有 1 个文件被更改,包括 8 次插入0 次删除
  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>