瀏覽代碼

Select: fix a wrong variable name (#10618)

杨奕 7 年之前
父節點
當前提交
5da88ade6b
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;