!54 update 优化表格列的显示与隐藏小组件

Merge pull request !54 from bestrevens/dev
This commit is contained in:
疯狂的狮子Li 2023-11-01 04:09:35 +00:00 committed by Gitee
commit 1e3f18ce22
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -8,7 +8,7 @@
<el-button circle icon="Refresh" @click="refresh()" />
</el-tooltip>
<el-tooltip class="item" effect="dark" content="显示/隐藏列" placement="top" v-if="columns">
<div>
<div class="show-btn">
<el-popover placement="bottom" trigger="click">
<div class="tree-header">显示/隐藏列</div>
<el-tree
@ -98,4 +98,7 @@ onMounted(() => {
line-height: 24px;
text-align: center;
}
.show-btn {
margin-left: 12px;
}
</style>