mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-25 10:56:35 +08:00
fix(ContactList): fix nodes type
This commit is contained in:
parent
44c97003ec
commit
0b764b6347
@ -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(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user