|
|
@ -13,18 +13,20 @@
|
|
|
|
<el-table-column prop="key" label="key值" width="80" />
|
|
|
|
<el-table-column prop="key" label="key值" width="80" />
|
|
|
|
<el-table-column label="操作" width="100">
|
|
|
|
<el-table-column label="操作" width="100">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<el-button
|
|
|
|
<div class="button-group">
|
|
|
|
@click="handleEditorClick(scope.$index, scope.row)"
|
|
|
|
<el-button
|
|
|
|
type="text"
|
|
|
|
@click="handleEditorClick(scope.$index, scope.row)"
|
|
|
|
size="small"
|
|
|
|
type="text"
|
|
|
|
>编辑</el-button
|
|
|
|
size="small"
|
|
|
|
>
|
|
|
|
>编辑</el-button
|
|
|
|
<el-button
|
|
|
|
>
|
|
|
|
type="text"
|
|
|
|
<el-button
|
|
|
|
size="small"
|
|
|
|
type="text"
|
|
|
|
@click="handleDeleteClick(scope.$index, scope.row)"
|
|
|
|
size="small"
|
|
|
|
>删除</el-button
|
|
|
|
@click="handleDeleteClick(scope.$index, scope.row)"
|
|
|
|
>
|
|
|
|
>删除</el-button
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table>
|
|
|
|
</el-table>
|
|
|
@ -161,4 +163,7 @@ export default {
|
|
|
|
/deep/.el-table::before {
|
|
|
|
/deep/.el-table::before {
|
|
|
|
height: 0;
|
|
|
|
height: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-group .el-button {
|
|
|
|
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|