Commit 285e8132 authored by zhangwenshuai's avatar zhangwenshuai

update fixed bug

parent a90c2b83
...@@ -121,7 +121,7 @@ const DragFixed = (props: any) => { ...@@ -121,7 +121,7 @@ const DragFixed = (props: any) => {
if (fixedCol[item.columnName] === 1) { if (fixedCol[item.columnName] === 1) {
item.fixed = 'left'; item.fixed = 'left';
} else { } else {
if (item.fixed === 'left') { if (!!item.showStatus && item.fixed === 'left') {
item.fixed = ''; item.fixed = '';
} }
} }
......
...@@ -127,7 +127,7 @@ const DragFixed = (props: any) => { ...@@ -127,7 +127,7 @@ const DragFixed = (props: any) => {
if (fixedCol[item.columnName] === 1) { if (fixedCol[item.columnName] === 1) {
item.fixed = 'right'; item.fixed = 'right';
} else { } else {
if (item.fixed === 'right') { if (!!item.showStatus && item.fixed === 'right') {
item.fixed = ''; item.fixed = '';
} }
} }
......
...@@ -81,7 +81,6 @@ export const getFormatColumns = (columns: ColumnProps[], cachedFeAttr: boolean, ...@@ -81,7 +81,6 @@ export const getFormatColumns = (columns: ColumnProps[], cachedFeAttr: boolean,
width: item.width, width: item.width,
align: item.align, align: item.align,
fixed: item.fixed, fixed: item.fixed,
hideScope: item.hideScope,
orderNo: item.orderNo, orderNo: item.orderNo,
}; };
} }
...@@ -98,7 +97,6 @@ export const getFormatColumns = (columns: ColumnProps[], cachedFeAttr: boolean, ...@@ -98,7 +97,6 @@ export const getFormatColumns = (columns: ColumnProps[], cachedFeAttr: boolean,
width: item.width, width: item.width,
align: item.align, align: item.align,
fixed: item.fixed, fixed: item.fixed,
hideScope: item.hideScope,
orderNo: item.orderNo, orderNo: item.orderNo,
}; };
}); });
......
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