chenrui  2 years ago
parent
commit
5ab1b3e090
1 changed files with 1 additions and 4 deletions
  1. 1 4
      src/components/table2/index.vue

+ 1 - 4
src/components/table2/index.vue

@@ -9,9 +9,7 @@
       </div>
       <template v-if="isBtn">
         <template v-if="isAuth">
-          <el-button size="small" plain type="primary" @click="handleAdd"
-            >新增</el-button
-          >
+          <el-button size="default" plain class="btn-white">新增</el-button>
         </template>
       </template>
     </div>
@@ -88,7 +86,6 @@ const data = generateData(columns, 200);
   padding: 20px;
   height: 100%;
   .data-table-btn {
-    margin-top: 13px;
     line-height: 32px;
     margin-bottom: 20px;
   }