数据表操作按钮美化

This commit is contained in:
yangtaihua
2020-06-07 07:46:16 +08:00
parent 5d411c021e
commit bb64ea839b
7 changed files with 15 additions and 15 deletions

View File

@@ -51,8 +51,8 @@
<el-table-column fixed="right" label="操作" width="200">
<template slot-scope="scope">
<el-button @click="editApi(scope.row)" size="small" type="text">编辑</el-button>
<el-button @click="deleteApi(scope.row)" size="small" type="text">删除</el-button>
<el-button @click="editApi(scope.row)" size="small" type="primary" icon="el-icon-edit">编辑</el-button>
<el-button @click="deleteApi(scope.row)" size="small" type="danger" icon="el-icon-delete">删除</el-button>
</template>
</el-table-column>
</el-table>