Skip to content
New issue

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

一个页面多个BasicTable,columns的展示会互相影响,保存了一个BasicTable的展示列,另一个BasicTable的展示列dataIndex一样的会展示,不一样的就消失了,保存这个那个消失,保存那个这个消失 #1243

Closed
ayss-xjh opened this issue May 9, 2024 · 2 comments

Comments

@ayss-xjh
Copy link

ayss-xjh commented May 9, 2024

版本号:3.6.3
问题描述:一个页面多个BasicTable,columns的展示会互相影响,保存了一个BasicTable的展示列,另一个BasicTable的展示列dataIndex一样的会展示,不一样的就消失了,保存这个那个消失,保存那个这个消失
截图&代码:

image
image
image
image

前端安装环境:

如果你是启动报错,请说明你的前端环境

  • 采用的是pnpm安装还是yarn?yarn
  • node版本号:?18
  • pnpm版本号:?

友情提示(为了提高issue处理效率):

  • 未按格式要求发帖,会被直接删掉;
  • 请自己初判问题描述是否清楚,是否方便我们调查处理;
  • 描述过于简单或模糊,导致无法处理的,会被直接删掉;
@zhangdaiscott
Copy link
Member

ws

@1298191366
Copy link

在不同的tableProps设置不同的checkkey即可解决

tableSetting: { cacheKey: 'depart_user_departInfo' },

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants