From 9b0d7dbee82c71ca16212253f33d6190dc93c56c Mon Sep 17 00:00:00 2001 From: ChenZhaoYu <790348264@qq.com> Date: Thu, 23 Mar 2023 21:12:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E5=8A=A8=E7=AB=AF=E7=84=A6?= =?UTF-8?q?=E7=82=B9=E4=B8=8D=E8=A7=A6=E5=8F=91=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/chat/components/Message/index.vue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/views/chat/components/Message/index.vue b/src/views/chat/components/Message/index.vue index 239ec25..541dde1 100644 --- a/src/views/chat/components/Message/index.vue +++ b/src/views/chat/components/Message/index.vue @@ -7,6 +7,7 @@ import { SvgIcon } from '@/components/common' import { copyText } from '@/utils/format' import { useIconRender } from '@/hooks/useIconRender' import { t } from '@/locales' +import { useBasicLayout } from '@/hooks/useBasicLayout' interface Props { dateTime?: string @@ -25,6 +26,8 @@ const props = defineProps() const emit = defineEmits() +const { isMobile } = useBasicLayout() + const { iconRender } = useIconRender() const textRef = ref() @@ -113,7 +116,12 @@ function handleRegenerate() { > - +