Skip to content

DatePicker, RangePicker Cannot read property 'key' of undefined #457

@koaqiu

Description

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

Version

1.3.3

Environment

win10,vue:2.5.21

Reproduction link

https://github.com/vueComponent/ant-design-vue

Steps to reproduce

添加到页面

<a-date-picker @change="onChangeDate" key="date-picker"/>

然后点击 控件选择日期

What is expected?

正常弹出日期选择框

What is actually happening?

无法选择日期,并且报错:RangePicker Cannot read property 'key' of undefined

https://boomdaily.oss-cn-shanghai.aliyuncs.com/tmp/20190131091606.png

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions