Skip to content

cascader component Initialize dynamic load value #5429

@lly-ke

Description

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

Version

2.2.8

Environment

none

Reproduction link

https://stackblitz.com/edit/vue-zee4mv?file=src/App.vue

Steps to reproduce

Assigning a value to v-model:value or defaultValue will automatically call the loadData callback

What is expected?

Assigning a value to v-model:value or defaultValue will automatically call the loadData callback

What is actually happening?

After the component is initialized, assigning the initial value does not automatically call the loadData callback to load the child nodes, and only the first-level data is displayed



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