update 优化表格列的显示与隐藏小组件
优化表格列的显示与隐藏小组件,解决小组件之间距离间隔不一样的问题 Signed-off-by: bestrevens <201840026@qq.com>
This commit is contained in:
parent
6ad0ed5316
commit
bf977fe00a
@ -8,7 +8,7 @@
|
|||||||
<el-button circle icon="Refresh" @click="refresh()" />
|
<el-button circle icon="Refresh" @click="refresh()" />
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
<el-tooltip class="item" effect="dark" content="显示/隐藏列" placement="top" v-if="columns">
|
<el-tooltip class="item" effect="dark" content="显示/隐藏列" placement="top" v-if="columns">
|
||||||
<div>
|
<div class="show-btn">
|
||||||
<el-popover placement="bottom" trigger="click">
|
<el-popover placement="bottom" trigger="click">
|
||||||
<div class="tree-header">显示/隐藏列</div>
|
<div class="tree-header">显示/隐藏列</div>
|
||||||
<el-tree
|
<el-tree
|
||||||
@ -98,4 +98,7 @@ onMounted(() => {
|
|||||||
line-height: 24px;
|
line-height: 24px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
.show-btn {
|
||||||
|
margin-left: 12px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user