diff --git a/root/chat/index.vue b/root/chat/index.vue index 50652ed..b6308a9 100644 --- a/root/chat/index.vue +++ b/root/chat/index.vue @@ -117,7 +117,7 @@ @longpress="handleLongPress(item)" style="min-height: 25px;" v-if="!item.isHidden" > - + diff --git a/root/components/chatEvent/message.vue b/root/components/chatEvent/message.vue index 87a1967..503922a 100644 --- a/root/components/chatEvent/message.vue +++ b/root/components/chatEvent/message.vue @@ -28,8 +28,9 @@ } }, watch: { - cusMessage: { - handler(newVal) { + cusMessage: { + handler(newVal) { + console.log('newVal',newVal) const hasDot = newVal.endsWith('。'); const messageWithoutDot = hasDot ? newVal.slice(0, -1) : newVal; this.displayedMessage = messageWithoutDot;