From f0137a0d0762a11618573bbdecce6d8003fd1b69 Mon Sep 17 00:00:00 2001 From: ivamp Date: Fri, 11 Oct 2024 16:50:52 +0800 Subject: [PATCH] =?UTF-8?q?TODO:=20=E5=89=8D=E9=9D=A2=E7=9A=84=E5=8C=BA?= =?UTF-8?q?=E5=9F=9F=E4=BB=A5=E5=90=8E=E5=86=8D=E6=9D=A5=E6=8E=A2=E7=B4=A2?= =?UTF-8?q?=E5=90=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/chat/MessageList.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/chat/MessageList.vue b/src/components/chat/MessageList.vue index 4a54d0c..d053715 100644 --- a/src/components/chat/MessageList.vue +++ b/src/components/chat/MessageList.vue @@ -137,6 +137,8 @@ const mdInited = ref(true); const unsupportedLanguages = ["assembly", "blade", "vue"]; mdIt.options.highlight = function (str: string, lang: string) { + // TODO: 前面的区域以后再来探索吧 + lang = "text" if (!lang || unsupportedLanguages.includes(lang)) { // return str; lang = "text"