Commit 5da88ade authored by 杨奕's avatar 杨奕 Committed by GitHub

Select: fix a wrong variable name (#10618)

parent 5b41b1a7
...@@ -364,7 +364,7 @@ ...@@ -364,7 +364,7 @@
if (!this.multiple) { if (!this.multiple) {
if (this.selected) { if (this.selected) {
if (this.filterable && this.allowCreate && if (this.filterable && this.allowCreate &&
this.createdSelected && this.createdOption) { this.createdSelected && this.createdLabel) {
this.selectedLabel = this.createdLabel; this.selectedLabel = this.createdLabel;
} else { } else {
this.selectedLabel = this.selected.currentLabel; this.selectedLabel = this.selected.currentLabel;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment