在管理系统中往往有些列数据会比较多,在不想自动换行的情况下(table 属性 ellipsis=true),想支持人工手动调整列宽查看/复制数据
无需对table进行设置,组件自动支持拖动列宽
我这里使用原生实现了列拖拽 https://github.com/buqiyuan/vue3-antd-admin/blob/main/src/components/dynamic-table/useDragCol.ts
Element UI好像就可以的,确实这个ant design vue有点麻烦
支持
Most helpful comment
我这里使用原生实现了列拖拽
https://github.com/buqiyuan/vue3-antd-admin/blob/main/src/components/dynamic-table/useDragCol.ts