mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-17 14:56:44 +08:00
当输入文字与标签匹配时 选择下拉框匹配标签 手动输入文字未直接消失
This commit is contained in:
@@ -217,7 +217,9 @@ export default {
|
|||||||
this.$emit('change', this.displayTags);
|
this.$emit('change', this.displayTags);
|
||||||
|
|
||||||
this.clearInput();
|
this.clearInput();
|
||||||
this.$refs.tagSelect.visible = false;
|
this.$nextTick(() => {
|
||||||
|
this.$refs.tagSelect.visible = false;
|
||||||
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
clearInput() {
|
clearInput() {
|
||||||
|
|||||||
Reference in New Issue
Block a user