ElemeFE / ElemeFE/element

日期时间控件el-date-picker 设置type=datetimerange中,使用format="yyyy-MM-dd HH"组件中仍有分钟选择件

Open
#18,806 3 comments 0 reactions 0 assignees View on GitHub
stale
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

Element UI version
2.13.0

OS/Browsers version
win10/chrome最新

Vue version
2.5.2

Reproduction Link
~

Steps to reproduce
组件:el-date-picker ,设置tpye=datetimerange;format="yyyy-MM-dd HH"
选择时间时依然出现发“分钟”的选择框,如下截图
![image](https://user-images.githubusercontent.com/11238835/74581636-714d7800-4fec-11ea-9412-40dfd70bd27f.png)

What is Expected?
期望能根据 format="yyyy-MM-dd HH" 的格式展示相应选择框(不展示分钟选择框)

What is actually happening?
设置 format="yyyy-MM-dd HH" 选择日期时间时不展示分钟选择框

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.