From f2c4590902c5be73325fd61219cc9dc815846558 Mon Sep 17 00:00:00 2001 From: neverland Date: Mon, 21 Feb 2022 11:51:23 +0800 Subject: [PATCH] fix(Toast): failed to render message after changing type (#10311) --- packages/vant/src/toast/Toast.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vant/src/toast/Toast.tsx b/packages/vant/src/toast/Toast.tsx index 58b3c2dbc..89213854f 100644 --- a/packages/vant/src/toast/Toast.tsx +++ b/packages/vant/src/toast/Toast.tsx @@ -120,7 +120,7 @@ export default defineComponent({ if (isDef(message) && message !== '') { return type === 'html' ? ( -
+
) : (
{message}
);