Skip to content

Commit

Permalink
fix(cascader): listening value (#2578)
Browse files Browse the repository at this point in the history
  • Loading branch information
catiwang authored Jan 29, 2024
1 parent dc15add commit c5c335f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/cascader/cascader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ export default class Cascader extends SuperComponent {
this.initWithValue();
}
},

value() {
this.initWithValue();
},

'selectedIndexes, options'() {
const { options, selectedIndexes, keys } = this.data;
const selectedValue = [];
Expand Down

0 comments on commit c5c335f

Please sign in to comment.