qianlishi 3 years ago
parent 9407c8a456
commit ef4f3c121d

@ -13,6 +13,7 @@
<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">
<div class="button-group">
<el-button <el-button
@click="handleEditorClick(scope.$index, scope.row)" @click="handleEditorClick(scope.$index, scope.row)"
type="text" type="text"
@ -25,6 +26,7 @@
@click="handleDeleteClick(scope.$index, scope.row)" @click="handleDeleteClick(scope.$index, scope.row)"
>删除</el-button >删除</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>

@ -27,11 +27,10 @@
</div> </div>
</template> </template>
<script> <script>
import vue from "vue";
import VueSuperSlide from "vue-superslide"; import VueSuperSlide from "vue-superslide";
vue.use(VueSuperSlide);
export default { export default {
components: {
VueSuperSlide
},
props: { props: {
value: Object, value: Object,
ispreview: Boolean ispreview: Boolean

Loading…
Cancel
Save