mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-09-08 22:57:11 +08:00
update src/components/GiTable/src/components/ColumnSetting.vue.
固定图标增加悬浮注释 Signed-off-by: KAI <1373639299@qq.com>
This commit is contained in:
@@ -47,27 +47,31 @@
|
||||
{{ item.title }}
|
||||
</a-checkbox>
|
||||
<div class="gi-table__draggable-item-fixed">
|
||||
<icon-pushpin
|
||||
class="gi-table__fixed-icon"
|
||||
:class="[
|
||||
{
|
||||
'gi-table__fixed-icon--active': item.fixed === 'left',
|
||||
'gi-table__fixed-icon--disabled': !item.show,
|
||||
},
|
||||
]"
|
||||
@click="handleFixedColumn(item, 'left')"
|
||||
/>
|
||||
<icon-pushpin
|
||||
class="gi-table__fixed-icon"
|
||||
:class="[
|
||||
{
|
||||
'gi-table__fixed-icon--active': item.fixed === 'right',
|
||||
'gi-table__fixed-icon--disabled': !item.show,
|
||||
},
|
||||
]"
|
||||
:rotate="270"
|
||||
@click="handleFixedColumn(item, 'right')"
|
||||
/>
|
||||
<a-tooltip content="左固定">
|
||||
<icon-pushpin
|
||||
class="gi-table__fixed-icon"
|
||||
:class="[
|
||||
{
|
||||
'gi-table__fixed-icon--active': item.fixed === 'left',
|
||||
'gi-table__fixed-icon--disabled': !item.show,
|
||||
},
|
||||
]"
|
||||
@click="handleFixedColumn(item, 'left')"
|
||||
/>
|
||||
</a-tooltip>
|
||||
<a-tooltip content="右固定">
|
||||
<icon-pushpin
|
||||
class="gi-table__fixed-icon"
|
||||
:class="[
|
||||
{
|
||||
'gi-table__fixed-icon--active': item.fixed === 'right',
|
||||
'gi-table__fixed-icon--disabled': !item.show,
|
||||
},
|
||||
]"
|
||||
:rotate="270"
|
||||
@click="handleFixedColumn(item, 'right')"
|
||||
/>
|
||||
</a-tooltip>
|
||||
</div>
|
||||
</div>
|
||||
</VueDraggable>
|
||||
|
Reference in New Issue
Block a user