Skip to content

select下拉框value重复时错误显示不一致 #2719

@peinkid

Description

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

Version

1.6.4

Environment

https://codesandbox.io/s/elegant-kapitsa-4ne39?file=/src/components/HelloWorld2.vue

Reproduction link

Edit on CodeSandbox

Steps to reproduce

先使用arr数据,控制发现重复value,报TypeError: Cannot read property 'key' of undefined
再使用brr数据,控制台不报错
请问这个原理是什么,怎么处理的

What is expected?

能提供此现象的原理以及统一处理

What is actually happening?

重复value但现象不一致

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