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 Report] el-date-picker组件使用format格式化为中文单位时,下拉选择日期时间时显示有bug #22809

Open
liukang-1998 opened this issue Feb 26, 2024 · 1 comment

Comments

@liukang-1998
Copy link

Element UI version

2.13.2

OS/Browsers version

chomre

Vue version

2.6.14

Reproduction Link

https://jsfiddle.net/liukang1998/shpcwg3k/7/

Steps to reproduce

使用如下组件和属性

下拉选择时间的时候发现,下拉框中的日期输入框最后一个字“日”跑到 时间框中了,时间框中的最后一个字 “秒” 跑到日期选择框了

What is Expected?

format="yyyy年MM月dd日 HH时mm分ss秒" 中间的空格将两边的文字隔开互不干扰

What is actually happening?

format="yyyy年MM月dd日 HH时mm分ss秒" 文字乱跑

@wangdaodao
Copy link
Contributor

貌似还没有合并:#22777 ,可以对照源码调整一下。

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

2 participants