From ab11badc84d3a014719b6d853dda46bc397da3ac Mon Sep 17 00:00:00 2001 From: kuaifan Date: Wed, 9 Nov 2022 09:30:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=BC=96=E8=AF=91=E5=B7=B2=E5=8F=91?= =?UTF-8?q?=E9=80=81=E7=9A=84=E6=B6=88=E6=81=AF=E4=B8=AD=E5=90=AB=E6=9C=89?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E4=BF=A1=E6=81=AF=E6=97=B6=E7=9A=84=E6=9C=AA?= =?UTF-8?q?=E5=AE=9A=E4=B9=89=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/assets/js/pages/manage/components/DialogWrapper.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/assets/js/pages/manage/components/DialogWrapper.vue b/resources/assets/js/pages/manage/components/DialogWrapper.vue index 6d4dd4b5c..7070f286e 100644 --- a/resources/assets/js/pages/manage/components/DialogWrapper.vue +++ b/resources/assets/js/pages/manage/components/DialogWrapper.vue @@ -1715,7 +1715,7 @@ export default { this.replyActiveUpdate = true let {text} = this.operateItem.msg if (text.indexOf("mention") > -1) { - text = text.replace(/@(.*?)<\/span>/g, '@$3') + text = text.replace(/([@#])(.*?)<\/span>/g, '$3$4') } this.msgText = $A.formatMsgBasic(text) }