Skip to content

a-auto-complete dataSource is Array<Object> ([{ text: ' ', value: ''}]). when dataSource changed, but view do not change. #1182

@2241980117m

Description

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

Version

undefined

Environment

macOS 10.14.5, chrome 76.0.3809.132,vue 2.6.10

Reproduction link

http://baidu.com

Steps to reproduce

a-auto-complete的dataSource为对象数组时(对象是{ text: ' ', value: ''}结构),并且当首次渲染内容为20条时,datasource更新后,页面不会改变。并且提示Cannot read property 'key' of undefined

What is expected?

在dataSouce改变后,页面发生改变。

What is actually happening?

页面内容为第一次dataSource的内容。

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