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(