Browse Source

fix: 表格demo修改

hanxiaohui 5 months ago
parent
commit
66301f19fe
1 changed files with 8 additions and 0 deletions
  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>