From 71de9bb6d2d64d9125d2cda46e8db8fcdd140fac Mon Sep 17 00:00:00 2001 From: Timothy Yin Date: Mon, 31 Mar 2025 11:18:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0=E6=AD=A3=E5=88=99?= =?UTF-8?q?=E8=A1=A8=E8=BE=BE=E5=BC=8F=E4=BB=A5=E6=BB=A4=E9=99=A4=E6=80=9D?= =?UTF-8?q?=E8=80=83=E8=BF=87=E7=A8=8B=E7=9A=84=20details/think=20?= =?UTF-8?q?=E6=A0=87=E7=AD=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/index.vue b/pages/index.vue index 2c7d9d7..54f6473 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -150,8 +150,8 @@ const getPopularInquiriesByRole = () => { }; const scrollArea = ref(null); -// 滤除 details 标签正则 -const regex = /(?<=<\/details>\n\n)[\s\S]*/gm; +// 滤除思考过程 details/think 标签正则 +const regex = /(?<=<\/details|think>\n\n)[\s\S]*/gm; // 常见问题 const inquiries = computed(