Skip to content

Cascader :defaultValue默认值不能动态绑定 #969

@ciel-he

Description

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

Version

ant-design-vue 1.3.10

Environment

最新,Chrome,vue2.5

Reproduction link

Edit on CodeSandbox

Steps to reproduce

1、改变switch,就改变对应的options和默认值
2、改变默认值并没有显示,始终只有第一次绑定的值显示,之后改变输入框都是显示为空

What is expected?

默认值可以动态绑定

What is actually happening?

改变之后,输入框显示为空


现在使用v-model代替defaultvalue显示,可以得到预期效果

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