Commit 68611ce6 authored by zhangwenshuai's avatar zhangwenshuai

删除本地排序缓存

parent 1482c759
...@@ -139,7 +139,7 @@ const DragFixed = (props: any) => { ...@@ -139,7 +139,7 @@ const DragFixed = (props: any) => {
cachedCols[item.columnName] = { cachedCols[item.columnName] = {
...cachedCols[item.columnName], ...cachedCols[item.columnName],
fixed: item.fixed, fixed: item.fixed,
orderNo: item.orderNo, // orderNo: item.orderNo,
}; };
saveCache({ tableId, data: cachedCols }); saveCache({ tableId, data: cachedCols });
} }
......
...@@ -177,7 +177,7 @@ const DragSorted = (props: any) => { ...@@ -177,7 +177,7 @@ const DragSorted = (props: any) => {
newColumns.map((item: any) => { newColumns.map((item: any) => {
cachedCols[item.columnName] = { cachedCols[item.columnName] = {
...cachedCols[item.columnName], ...cachedCols[item.columnName],
orderNo: item.orderNo, // orderNo: item.orderNo,
fixed: item.fixed, fixed: item.fixed,
}; };
}); });
......
...@@ -118,7 +118,7 @@ export const getFormatColumns = (columns: ColumnProps[], cachedFeAttr: boolean, ...@@ -118,7 +118,7 @@ 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,
orderNo: item.orderNo, // orderNo: item.orderNo,
}; };
} }
return { return {
...@@ -134,7 +134,7 @@ export const getFormatColumns = (columns: ColumnProps[], cachedFeAttr: boolean, ...@@ -134,7 +134,7 @@ 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,
orderNo: item.orderNo, // orderNo: item.orderNo,
}; };
}); });
if (columns.length > 0) { if (columns.length > 0) {
......
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