We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
columnsState修改Column Display之后刷新页面,会恢复到defaultValue数据
columnsState={{ defaultValue: columnsStateMap, persistenceKey:'node-table', persistenceType:'localStorage' }}
是否应当判断已有缓存的情况下则忽略defaultValue
The text was updated successfully, but these errors were encountered:
+1 我原本是好的,版本升级后出现了这个问题 别说是刷新了,翻个页都恢复了
有办法可以解决(去掉defaultValue,前置初始化往localstorage预判写入columnsStateMap)但感觉太蠢啦
Sorry, something went wrong.
+1 我原本是好的,版本升级后出现了这个问题 有办法可以解决(去掉defaultValue,前置初始化往localstorage预判写入columnsStateMap)但感觉太蠢啦
官方没适配的时候,我自己是这么封装的。以为官方内置了可以直接迁过去,结果现在看,还是用自己的
No branches or pull requests
🧐 columnsState修改后刷新都会恢复为defaultValue
columnsState修改Column Display之后刷新页面,会恢复到defaultValue数据
💻 示例代码
columnsState={{ defaultValue: columnsStateMap, persistenceKey:'node-table', persistenceType:'localStorage' }}
是否应当判断已有缓存的情况下则忽略defaultValue
The text was updated successfully, but these errors were encountered: