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

ProTable组件中的 columns valueType: 'dateRange' 类型使用逻辑不一致 🐛[BUG] #8711

Open
TangDeYu opened this issue Sep 9, 2024 · 0 comments

Comments

@TangDeYu
Copy link

TangDeYu commented Sep 9, 2024

提问前先看看:

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

🐛 bug 描述

image

官网中使用valueType。比如选择了开始日期之后。之前的日期还是可以选择的

image

项目引入使用后。选择了开始日期之后。之前的日期不可选择了。结束日期也是同样的逻辑

请问怎么能保持和官网一致?

{
title: '日期区间',
key: 'dateRange',
dataIndex: 'createdAtRange',
valueType: 'dateRange',
},

"@ant-design/pro-components": "2.6.43",
"antd": "5.12.2",
"umi-presets-pro": "^2.0.2"
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

1 participant