修改:优化发送表情
parent
da42381c8b
commit
8eb43bdd01
|
@ -61,12 +61,16 @@ const checkAtMembers = (text) => {
|
|||
//emojis框展开
|
||||
const isShowEmojisBox = ref(false)
|
||||
const emojisBox = ref(null)
|
||||
onClickOutside(emojisBox, () => {
|
||||
onClickOutside(emojisBox, (event) => {
|
||||
console.log('>>>>>关闭模态框')
|
||||
isShowEmojisBox.value = false
|
||||
event.stopPropagation()
|
||||
})
|
||||
const showEmojisBox = () => {
|
||||
console.log('>>>>>展开模态框')
|
||||
if (!isShowEmojisBox.value) {
|
||||
isShowEmojisBox.value = true
|
||||
}
|
||||
}
|
||||
//新增一个emoji
|
||||
const addOneEmoji = (emoji) => {
|
||||
|
|
Loading…
Reference in New Issue