mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
This reverts commit e7c909b277
.
This commit is contained in:
parent
91f566f057
commit
665756e850
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user