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

🐛[BUG] ProTable当是多层表头时搜索项不能正常渲染 #7416

Closed
hejinguo opened this issue Jul 24, 2023 · 4 comments
Closed

🐛[BUG] ProTable当是多层表头时搜索项不能正常渲染 #7416

hejinguo opened this issue Jul 24, 2023 · 4 comments

Comments

@hejinguo
Copy link

hejinguo commented Jul 24, 2023

提问前先看看:

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

🐛 bug 描述

ProTable只有一行表头时可以正常渲染搜索条件,当时多层表头时只有第一层标题可以正常显示出搜索条件
@chenshuai2144

📷 复现步骤

image

🏞 期望结果

期望表头中的项目都可以根据配置正常渲染搜索条件

💻 复现代码

© 版本信息

"@ant-design/icons": "^5.0.1",
"@ant-design/pro-components": "^2.4.4",
"@umijs/max": "^4.0.72",
"antd": "^5.4.0",
"immutability-helper": "^3.1.1"
  • ProComponents 版本: [e.g. 4.0.0]
  • umi 版本
  • 浏览器环境
  • 开发环境 [e.g. mac OS]

🚑 其他信息

@Eileen-v
Copy link

Eileen-v commented Aug 8, 2023

提问前先看看:

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

🐛 bug 描述

ProTable只有一行表头时可以正常渲染搜索条件,当时多层表头时只有第一层标题可以正常显示出搜索条件 @chenshuai2144

📷 复现步骤

image ### 🏞 期望结果 期望表头中的项目都可以根据配置正常渲染搜索条件

💻 复现代码

© 版本信息

"@ant-design/icons": "^5.0.1",
"@ant-design/pro-components": "^2.4.4",
"@umijs/max": "^4.0.72",
"antd": "^5.4.0",
"immutability-helper": "^3.1.1"
  • ProComponents 版本: [e.g. 4.0.0]
  • umi 版本
  • 浏览器环境
  • 开发环境 [e.g. mac OS]

🚑 其他信息

你好,我也发现了这个问题,有没有可以暂时解决,先用这的办法呀

@hejinguo
Copy link
Author

hejinguo commented Aug 9, 2023

@Eileen-v
用BetaSchemaForm.QueryFilter和ProTable搭配组合着先使用的。没再用ProTable的search.

image

@Eileen-v
Copy link

Eileen-v commented Aug 9, 2023

@hejinguo 尝试了一下,确实可以,非常感谢~~🙇‍

@github-actions
Copy link

github-actions bot commented Oct 5, 2023

Hello @hejinguo. Please provide a online reproduction by forking this link https://codesandbox.io/ or a minimal GitHub repository.

你好 @hejinguo, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击 此处 创建一个 codesandbox 或者提供一个最小化的 GitHub 仓库。
如何写个好问题?https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

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

No branches or pull requests

3 participants