fix(projects): 🐛 fix the style disorder of table-column-setting. fixed [#163]

This commit is contained in:
一寸灰
2025-10-21 15:26:57 +08:00
committed by GitHub
parent 211ae7d399
commit 280df5fafb

View File

@@ -26,7 +26,9 @@ const columns = defineModel<UI.TableColumnCheck[]>('columns', {
class="h-36px flex-y-center rd-4px hover:(bg-primary bg-opacity-20)" class="h-36px flex-y-center rd-4px hover:(bg-primary bg-opacity-20)"
> >
<icon-mdi-drag class="mr-8px h-full cursor-move text-icon" /> <icon-mdi-drag class="mr-8px h-full cursor-move text-icon" />
<ElCheckbox v-model="item.checked" class="none_draggable flex-1">{{ item.label }}</ElCheckbox> <ElTooltip :content="item.label as string" :disabled="item.label.length < 10" placement="top">
<ElCheckbox v-model="item.checked" class="none_draggable flex-1 overflow-hidden">{{ item.label }}</ElCheckbox>
</ElTooltip>
</div> </div>
</VueDraggable> </VueDraggable>
</ElPopover> </ElPopover>