perf: 优化输入框功能提示

This commit is contained in:
kuaifan 2023-02-14 10:47:53 +08:00
parent 96e7913ae4
commit d1fb538e75
2 changed files with 2 additions and 7 deletions

View File

@ -455,9 +455,6 @@ export default {
} else if (this.rangeIndex > 0) {
this.quill.setSelection(this.rangeIndex)
}
if (!val && this.$refs.emojiTip) {
this.$refs.emojiTip.updatePopper()
}
this.$emit('on-emoji-visible-change', val)
},
@ -465,9 +462,6 @@ export default {
if (val) {
this.showEmoji = false;
}
if (!val && this.$refs.moreTip) {
this.$refs.moreTip.updatePopper()
}
this.$emit('on-more-visible-change', val)
},

View File

@ -86,7 +86,8 @@
align-items: center;
> em {
font-style: normal;
padding-left: 4px;
padding: 0 4px;
white-space: nowrap;
}
}
.user-drop-check {