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