element-plus [Bug Report] 【datetime-picker】If i click the time picker first, the date view will show same month

t9aqgxwy  于 2022-10-21  发布在  其他
关注(0)|答案(9)|浏览(243)

Element Plus version

1.2.0-beta.6

OS/Browsers version

96.0.4664.93 (正式版本) (x86_64)(Google)

Vue version

3.2.26

https://codepen.io/Moxmi/pen/MWEoPKJ

Steps to reproduce

  1. Click the time picker view. #点击时间选择区域
  2. you can see the date picker view change to display same month. #你会看到日期选择区域变成了相同月份的

What is Expected?

The date picker view should display normally (the current month and the next month)

日期选择区域应该现实正常月份的日期(当月和下月)

What is actually happening?

The date picker only display the current month.(Both of left and right)

日期选择区域只展示了当前月份(左右两个都是当前)

zkure5ic

zkure5ic1#

https://element-plus.gitee.io/zh-CN/component/datetime-picker.html#%E6%97%A5%E6%9C%9F%E5%92%8C%E6%97%B6%E9%97%B4%E7%82%B9 文档demo即可复现

yc0p9oo0

yc0p9oo02#

Hello @Moxmi. Please provide an online reproduction demo by clicking this link or a minimal GitHub repository. Issues marked with need reproduction will be closed if they have no activity within 3 days.

你好 @Moxmi, 我们需要你提供一个在线的重现示例以便于我们帮你排查问题。可以通过点击 此处 创建或者提供一个最小化的 GitHub 仓库。3 天内未跟进此 issue 将会被自动关闭。

zour9fqk

zour9fqk3#

You can find the reproduction case on your official document:https://element-plus.gitee.io/zh-CN/component/datetime-picker.html#%E6%97%A5%E6%9C%9F%E5%92%8C%E6%97%B6%E9%97%B4%E8%8C%83%E5%9B%B4

rjee0c15

rjee0c154#

我也遇到了,先点击具体时间后在选择月份时,前后的日期选择都变成了相同的月份。希望赶紧修复一下~~

oyjwcjzk

oyjwcjzk6#

遇到了同样的bug,官网例子中就能复现,希望能快一点修复好

gopyfrb3

gopyfrb37#

I will fix this problem first !

xggvc2p6

xggvc2p68#

What is the meaning of the same month?

相关问题