bk-magic-vue 2.5.3-beta.11 → 2.5.3-beta.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/bk-magic-vue.js
CHANGED
|
@@ -43830,7 +43830,7 @@
|
|
|
43830
43830
|
if (!this.allowCreate && this.showList || this.allowCreate && this.focusItemIndex >= 0 && this.showList) {
|
|
43831
43831
|
this.handlerResultSelect(this.renderList[this.focusItemIndex], 'select');
|
|
43832
43832
|
this.showList = false;
|
|
43833
|
-
} else if (this.allowCreate) {
|
|
43833
|
+
} else if (this.allowCreate && this.curInputValue.trim()) {
|
|
43834
43834
|
event.preventDefault();
|
|
43835
43835
|
var tag = this.curInputValue;
|
|
43836
43836
|
this.handlerResultSelect(tag, 'custom');
|