From 279fe499de69aff96428f77295b6ec1ef4e19d58 Mon Sep 17 00:00:00 2001 From: zhangwenshuai Date: Thu, 17 Dec 2020 18:12:35 +0800 Subject: [PATCH] fix bug --- components/apolloTable/component/DragFixed.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/apolloTable/component/DragFixed.tsx b/components/apolloTable/component/DragFixed.tsx index 5cd089e..a3a0b4e 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]); }); // 新的列数组包含刚固定的列(排在最前面)和原来的所有列,需要将后面重复的列剔除 -- 2.21.0