From 530d663407cf3208506d3cfc813cbaf2121e5775 Mon Sep 17 00:00:00 2001 From: zhangdaiscott Date: Fri, 23 Sep 2022 10:01:27 +0800 Subject: [PATCH] =?UTF-8?q?=E7=82=B9=E5=87=BB=E9=80=80=E5=87=BA=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E6=8A=A5=E9=94=99=EF=BC=88online=E5=85=BC=E5=AE=B9?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/web/useMessage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/web/useMessage.ts b/src/hooks/web/useMessage.ts index b30c109..3a3dbbc 100644 --- a/src/hooks/web/useMessage.ts +++ b/src/hooks/web/useMessage.ts @@ -54,7 +54,7 @@ function getIcon(iconType: string) { function renderContent({ content }: Pick) { try { if (isString(content)) { - return h('div', content as string); + return h('div', h('div', content as string)); } else { return content; }