Skip to content

Commit

Permalink
fix(cascader): cascader panel support option slot (#3290)
Browse files Browse the repository at this point in the history
  • Loading branch information
uyarn authored Aug 29, 2024
1 parent 15b2ffc commit 8628fd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cascader/cascader-panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default defineComponent({
empty={this.empty}
trigger={this.trigger}
cascaderContext={this.cascaderContext}
scopedSlots={{ empty: this.slots.empty }}
scopedSlots={{ empty: this.slots.empty, option: this.slots.option, loadingText: this.slots.loadingText }}
onClick={this.onClick}
/>
);
Expand Down

0 comments on commit 8628fd0

Please sign in to comment.