Skip to content

data-picker 添加了valueFormat 属性后,日期弹出来 选择日期时间并不会改变但是change事件里能返回正确的选中的日期。 #2641

@ShootingKiler

Description

@ShootingKiler
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.6.4

Environment

vue 2.6.10, antdv 1.6.4

Reproduction link

https://www.antdv.com/components/date-picker-cn/#API

Steps to reproduce

1.创建一个date-picker
2.添加valueFormat 为 string
3.选择日期,不能选中。并且值不变

What is expected?

能够像正常模式的日期插件一样,选中。

What is actually happening?

value 值我不想用moment 对象,想用字符串,发现不能用

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions