diff --git a/packages/amis-core/src/store/table.ts b/packages/amis-core/src/store/table.ts index b395debd2..5c7846ace 100644 --- a/packages/amis-core/src/store/table.ts +++ b/packages/amis-core/src/store/table.ts @@ -1680,10 +1680,8 @@ export const TableStore = iRendererStore localStorage.setItem( key, JSON.stringify({ - // 可显示列index, 原始配置中存在 toggled: false 的列不持久化 - toggledColumnIndex: self.activeToggaleColumns - .filter(item => !(item.pristine?.toggled === false)) - .map(item => item.index), + // 可显示列index + toggledColumnIndex: self.activeToggaleColumns.map(item => item.index), // 列排序,name,label可能不存在 columnOrder: self.columnsData.map( item => item.name || item.label || item.rawIndex