Commit 279fe499 authored by zhangwenshuai's avatar zhangwenshuai

fix bug

parent c1616bc1
...@@ -103,6 +103,7 @@ const DragFixed = (props: any) => { ...@@ -103,6 +103,7 @@ const DragFixed = (props: any) => {
handleWrap.style.left = fixedWidth; handleWrap.style.left = fixedWidth;
// 滑块隐藏 // 滑块隐藏
handle.style.opacity = 0; handle.style.opacity = 0;
handle.parentNode.style.width = 0;
let leftFixedWidth = 0; let leftFixedWidth = 0;
const fixedCol: any = {}; const fixedCol: any = {};
...@@ -123,7 +124,7 @@ const DragFixed = (props: any) => { ...@@ -123,7 +124,7 @@ const DragFixed = (props: any) => {
} }
} }
let newColumns: any = []; let newColumns: any = [];
fixedColOrder.map((temp:any) => { fixedColOrder.map((temp: any) => {
newColumns.push(fixedCol[temp]); newColumns.push(fixedCol[temp]);
}); });
// 新的列数组包含刚固定的列(排在最前面)和原来的所有列,需要将后面重复的列剔除 // 新的列数组包含刚固定的列(排在最前面)和原来的所有列,需要将后面重复的列剔除
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment