From 2aea635652ffea5350ac71d34a7b785fbc8b2bc7 Mon Sep 17 00:00:00 2001 From: FunkyZc Date: Mon, 12 Apr 2021 11:35:53 +0800 Subject: [PATCH] fix(ContactList): fix TS type check error --- 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 81522e8af..330a7698c 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[] = [<>{`${item.name},${item.tel}`}]; if (item.isDefault && props.defaultTagText) { nodes.push(