From 3fb085c6b272acb80fecf6c2f78995aef5da82ae Mon Sep 17 00:00:00 2001 From: guoyuqi Date: Fri, 29 Mar 2024 14:41:08 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E9=80=9A=E7=94=A8=E5=8A=9F=E8=83=BD):=20?= =?UTF-8?q?=E5=AF=8C=E6=96=87=E6=9C=AC=E6=A1=86@=E4=BA=BA=E5=8F=AF?= =?UTF-8?q?=E4=BB=A5=E8=B7=9F=E9=9A=8F=E4=B8=BB=E9=A2=98=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/pure/ms-rich-text/MsRichText.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/pure/ms-rich-text/MsRichText.vue b/frontend/src/components/pure/ms-rich-text/MsRichText.vue index 534443e41b..3c9a395d60 100644 --- a/frontend/src/components/pure/ms-rich-text/MsRichText.vue +++ b/frontend/src/components/pure/ms-rich-text/MsRichText.vue @@ -337,7 +337,7 @@ renderHTML({ options, node }) { return [ 'span', - { style: 'color: #783887' }, + { class: 'mention-people' }, `${options.suggestion.char}${node.attrs.label ?? node.attrs.id}`, ]; // return `${options.suggestion.char}${userMap[node.attrs.id]}`; @@ -570,4 +570,7 @@ .ms-scroll-bar(); } } + .mention-people { + color: rgb(var(--primary-5)) !important; + }