Commit 285e8132 authored by zhangwenshuai's avatar zhangwenshuai

update fixed bug

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