Эх сурвалжийг харах

Select: fix a wrong variable name (#10618)

杨奕 7 жил өмнө
parent
commit
5da88ade6b

+ 1 - 1
packages/select/src/select.vue

@@ -364,7 +364,7 @@
           if (!this.multiple) {
             if (this.selected) {
               if (this.filterable && this.allowCreate &&
-                this.createdSelected && this.createdOption) {
+                this.createdSelected && this.createdLabel) {
                 this.selectedLabel = this.createdLabel;
               } else {
                 this.selectedLabel = this.selected.currentLabel;