diff --git a/components/apolloTable/component/DragFixed.tsx b/components/apolloTable/component/DragFixed.tsx index ec6f5fa399dbfd2b0974c5a99223aabe4c17c983..f4088217cbfb5a0c35c2d54f1bc7c2da952a8e60 100644 --- a/components/apolloTable/component/DragFixed.tsx +++ b/components/apolloTable/component/DragFixed.tsx @@ -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 = ''; } } diff --git a/components/apolloTable/component/RightDragFixed.tsx b/components/apolloTable/component/RightDragFixed.tsx index e11f94c4efc062b45a53af93a07d90338001d95a..e73e976e489d4d836d681363f0e98836743c0f7f 100644 --- a/components/apolloTable/component/RightDragFixed.tsx +++ b/components/apolloTable/component/RightDragFixed.tsx @@ -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 = ''; } } diff --git a/components/apolloTable/utils/memCols.ts b/components/apolloTable/utils/memCols.ts index 0fa4cd30cb24c422d2a700d79eb965ad055510ae..552cab572e4fbd5a6c579f38bef886663fa4c5c2 100644 --- a/components/apolloTable/utils/memCols.ts +++ b/components/apolloTable/utils/memCols.ts @@ -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, }; });