Open
Description
Version
Vben Admin V5
Describe the bug?
通过setGridOptions更新配置时会导致表格状态丢失,如设置loading状态导致列排序状态丢失,官方文档示例即可复现
步骤:
1、点击https://doc.vben.pro/components/common-ui/vben-vxe-table.html#%E5%9F%BA%E7%A1%80%E8%A1%A8%E6%A0%BC示例中的 Age 列进行排序
2、点击显示loading按钮
结果:排序状态丢失,vxe官方的状态不会丢失
排查思路:通过排查怀疑是setGridOptions这个api更新配置时原实例状态丢失
Reproduction
无
System Info
无
Relevant log output
无
Validations
- Read the docs
- Ensure the code is up to date. (Some issues have been fixed in the latest version)
- I have searched the existing issues and checked that my issue does not duplicate any existing issues.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.