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() { > - +