Explorar o código

Select: fix a wrong variable name (#10618)

杨奕 %!s(int64=7) %!d(string=hai) anos
pai
achega
5da88ade6b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/select/src/select.vue

+ 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;