Skip to content

a-select 设置 mode="tags" 绑定数据绑定的数据值是null时,默认选择一个空的值 #790

@liuyanchen1994

Description

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

Version

1.3.8

Environment

os:win10 Browser:Google Chrome 74 x64、Vue:2.5.2

Reproduction link

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

Steps to reproduce

<a-select mode="tags" placeholder="请输入用户" v-model="aa">
<a-select-option value="1">1</a-select-option>
<a-select-option value="2">2</a-select-option>
</a-select>

data() {
return {
aa:null
};
},

What is expected?

默认没有选择

What is actually happening?

实际有个一个选择出现

image

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