|
@@ -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('>>>>>展开模态框')
|
|
|
- isShowEmojisBox.value = true
|
|
|
+ if (!isShowEmojisBox.value) {
|
|
|
+ isShowEmojisBox.value = true
|
|
|
+ }
|
|
|
}
|
|
|
//新增一个emoji
|
|
|
const addOneEmoji = (emoji) => {
|