qianlishi 3 years ago
parent 9407c8a456
commit ef4f3c121d

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

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

Loading…
Cancel
Save