fix(ContactList): fix nodes type

This commit is contained in:
FunkyZc 2021-04-12 18:01:43 +08:00 committed by neverland
parent 44c97003ec
commit 0b764b6347

View File

@ -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(