diff --git a/src/components/CommentReply/src/CommentInput/CommentInput.vue b/src/components/CommentReply/src/CommentInput/CommentInput.vue index 35a4daa..67a4fd5 100644 --- a/src/components/CommentReply/src/CommentInput/CommentInput.vue +++ b/src/components/CommentReply/src/CommentInput/CommentInput.vue @@ -2,7 +2,7 @@
').replace(/\s/g, ' '); - const regex = /\[((1[0-6][0-6]|[1-9]?[0-9])\.gif)\]/g; // 匹配 [1.gif] 的字符串 - const contentWithEmoji = content.replace(regex, (match, p1) => { - if (emojiType.value === "qq") { - return `
').replace(/\s/g, ' '); const regex = /\[((1[0-6][0-6]|[1-9]?[0-9])\.gif)\]/g; // 匹配 [1.gif] 的字符串 - const contentWithEmoji = content.replace(regex, (match, p1) => { - if (emojiType.value === "qq") { - return `