Skip to content

[Bug Report]DatePicker 将值从空制符串置为null出现BUG #1027

@SSRChen

Description

@SSRChen

Environment

4.7.0

Reproduction link

https://run.iviewui.com/LpJkTUMd

Steps to reproduce

1、将 DatePicker 的初始值设为空字符串 ''
2、将 DatePicker 的值置为 null
3、点击 DatePicker 选择日期,但v-model的值并没有发生变化,还是null,第二次选择才能正确的更新数据。

What is expected?

第一选择v-model绑定的值能正确更新

What is actually happening?

第一次选择v-model绑定的值不能正确更新

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions