Skip to content

Commit

Permalink
fix: change selectedData default in legend
Browse files Browse the repository at this point in the history
  • Loading branch information
Rui-Sun committed Mar 27, 2024
1 parent fdca1a7 commit 57e5c6f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class DiscreteTableLegend {
this.orient = option.orient ?? 'left';
this.visible = option.visible ?? true;
this.position = option.position ?? 'middle';
this.selectedData = option.defaultSelected ?? [];
this.selectedData = option.defaultSelected ?? null;

this.createComponent();
this.initEvent();
Expand Down

0 comments on commit 57e5c6f

Please sign in to comment.