diff --git a/components/apolloTable/component/DragFixed.tsx b/components/apolloTable/component/DragFixed.tsx index 5cd089e528168a86a21bd784747e043242a46161..a3a0b4e60e3f3ce82660112f902cf51151b6c6f9 100644 --- a/components/apolloTable/component/DragFixed.tsx +++ b/components/apolloTable/component/DragFixed.tsx @@ -103,6 +103,7 @@ const DragFixed = (props: any) => { handleWrap.style.left = fixedWidth; // 滑块隐藏 handle.style.opacity = 0; + handle.parentNode.style.width = 0; let leftFixedWidth = 0; const fixedCol: any = {}; @@ -123,7 +124,7 @@ const DragFixed = (props: any) => { } } let newColumns: any = []; - fixedColOrder.map((temp:any) => { + fixedColOrder.map((temp: any) => { newColumns.push(fixedCol[temp]); }); // 新的列数组包含刚固定的列(排在最前面)和原来的所有列,需要将后面重复的列剔除