修复input-text组件 autoComplete、creatable属性导致弹框不消失的bug #10972
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
input-text组件使用autoComplete属性时 点击了选项 选项组弹框不消失 需要点击空白处才能消失
然后发现 creatable: false 也会同样导致这个bug
这个修改的方式可能不太规范,因为不太了解整个项目,不知道怎么判断点击的是选项还是文本框本身,大佬可以指点一下
What
Why
How