From 68611ce6ed6f2f44c239ebe51f0fcef1851c2979 Mon Sep 17 00:00:00 2001 From: zhangwenshuai Date: Tue, 2 Feb 2021 11:54:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=9C=AC=E5=9C=B0=E6=8E=92?= =?UTF-8?q?=E5=BA=8F=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/apolloTable/component/DragFixed.tsx | 2 +- components/apolloTable/component/DragSorted.tsx | 2 +- components/apolloTable/utils/memCols.ts | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/apolloTable/component/DragFixed.tsx b/components/apolloTable/component/DragFixed.tsx index a3a0b4e..670ef15 100644 --- a/components/apolloTable/component/DragFixed.tsx +++ b/components/apolloTable/component/DragFixed.tsx @@ -139,7 +139,7 @@ const DragFixed = (props: any) => { cachedCols[item.columnName] = { ...cachedCols[item.columnName], fixed: item.fixed, - orderNo: item.orderNo, + // orderNo: item.orderNo, }; saveCache({ tableId, data: cachedCols }); } diff --git a/components/apolloTable/component/DragSorted.tsx b/components/apolloTable/component/DragSorted.tsx index aa156a7..6e557ba 100644 --- a/components/apolloTable/component/DragSorted.tsx +++ b/components/apolloTable/component/DragSorted.tsx @@ -177,7 +177,7 @@ const DragSorted = (props: any) => { newColumns.map((item: any) => { cachedCols[item.columnName] = { ...cachedCols[item.columnName], - orderNo: item.orderNo, + // orderNo: item.orderNo, fixed: item.fixed, }; }); diff --git a/components/apolloTable/utils/memCols.ts b/components/apolloTable/utils/memCols.ts index 5b74100..f6b554d 100644 --- a/components/apolloTable/utils/memCols.ts +++ b/components/apolloTable/utils/memCols.ts @@ -118,7 +118,7 @@ export const getFormatColumns = (columns: ColumnProps[], cachedFeAttr: boolean, width: item.width, align: item.align, fixed: item.fixed, - orderNo: item.orderNo, + // orderNo: item.orderNo, }; } return { @@ -134,7 +134,7 @@ export const getFormatColumns = (columns: ColumnProps[], cachedFeAttr: boolean, width: item.width, align: item.align, fixed: item.fixed, - orderNo: item.orderNo, + // orderNo: item.orderNo, }; }); if (columns.length > 0) { -- 2.21.0