소스 검색

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>