fix(ContactList): fix nodes type
This commit is contained in:
@@ -55,7 +55,7 @@ export default defineComponent({
|
|||||||
);
|
);
|
||||||
|
|
||||||
const renderContent = () => {
|
const renderContent = () => {
|
||||||
const nodes: JSX.Element[] = [<>{`${item.name},${item.tel}`}</>];
|
const nodes: (JSX.Element | string)[] = [`${item.name},${item.tel}`];
|
||||||
|
|
||||||
if (item.isDefault && props.defaultTagText) {
|
if (item.isDefault && props.defaultTagText) {
|
||||||
nodes.push(
|
nodes.push(
|
||||||
|
|||||||
Reference in New Issue
Block a user