fix(表格): 禁用第一列拖拽列宽
This commit is contained in:
parent
bff7c3ad78
commit
bf926559b0
|
@ -979,9 +979,12 @@
|
|||
if (dataIndex) {
|
||||
const [index] = dataIndex.split('_').slice(-1);
|
||||
const lastIndex = attrs.selectable ? Number(index) - 1 : Number(index);
|
||||
|
||||
if (lastIndex > -1) {
|
||||
currentColumns.value[lastIndex].width = width;
|
||||
await tableStore.updateColumnWidth(attrs.tableKey as TableKeyEnum, currentColumns.value);
|
||||
}
|
||||
}
|
||||
}, 200);
|
||||
|
||||
function columnResize(dataIndex: string, width: number) {
|
||||
|
@ -1168,6 +1171,11 @@
|
|||
padding: 0;
|
||||
}
|
||||
}
|
||||
:deep(.arco-table-col-fixed-left.arco-table-operation) {
|
||||
span.arco-table-column-handle {
|
||||
pointer-events: none;
|
||||
}
|
||||
}
|
||||
:deep(.ms-table-select-all) {
|
||||
.dropdown-icon {
|
||||
background: none !important;
|
||||
|
|
Loading…
Reference in New Issue