From 0b764b63470b09f5654d267c8d07a20bc2d31536 Mon Sep 17 00:00:00 2001 From: FunkyZc Date: Mon, 12 Apr 2021 18:01:43 +0800 Subject: [PATCH] fix(ContactList): fix nodes type --- src/contact-list/ContactList.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/contact-list/ContactList.tsx b/src/contact-list/ContactList.tsx index 330a7698c..ea09cd601 100644 --- a/src/contact-list/ContactList.tsx +++ b/src/contact-list/ContactList.tsx @@ -55,7 +55,7 @@ export default defineComponent({ ); const renderContent = () => { - const nodes: JSX.Element[] = [<>{`${item.name},${item.tel}`}]; + const nodes: (JSX.Element | string)[] = [`${item.name},${item.tel}`]; if (item.isDefault && props.defaultTagText) { nodes.push(