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

DatePicker type为weerange时周范围显示不正确 #1976

Closed
s952787097 opened this issue Nov 4, 2021 · 1 comment · Fixed by #1977
Closed

DatePicker type为weerange时周范围显示不正确 #1976

s952787097 opened this issue Nov 4, 2021 · 1 comment · Fixed by #1977
Labels
3.x bug Something isn't working comp:datepicker

Comments

@s952787097
Copy link

Bug 描述
DatePicker type为weerange时 选择任意日期时 选择的周范围不正确

当前3.8.0版本下,在实际项目中使用出现的效果,如下图所示
image

hiui官网的示例,展示效果如下
image

参考
重现步骤:

  1. 在项目任意位置使用DatePicker type设置为weekrange
  2. 点击 DatePicker 组件
  3. 触发周范围选择
  4. 点击任意两个日期,以确定周范围
  5. 对比官网示例 和实际项目中的效果即可复现

预期行为
image

截屏
问题所在
image

可重现环境:

  • 系统: macOS [版本:12.0.1]
  • 浏览器: chrome [版本:95.0.4638.69]
  • HIUI 的版本: 3.8.0

附加内容

@s952787097 s952787097 added the bug Something isn't working label Nov 4, 2021
@Flcwl Flcwl linked a pull request Nov 5, 2021 that will close this issue
@Flcwl
Copy link
Collaborator

Flcwl commented Nov 10, 2021

@s952787097 Done~ @hi-ui/hiui@3.8.1-rc.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.x bug Something isn't working comp:datepicker
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants