fix 一些使用问题

This commit is contained in:
maxbad
2023-05-07 14:16:46 +08:00
parent 9ac036a542
commit e8a0a41cb4
10 changed files with 24 additions and 23 deletions

View File

@@ -120,6 +120,7 @@
NIcon,
NTag,
NIconWrapper,
NAvatar,
useMessage,
NImage,
useDialog,
@@ -159,25 +160,13 @@
});
} else {
return h(
NIconWrapper,
NAvatar,
{
size: 48,
borderRadius: 8,
color: '#2D8CF0',
},
{
default: () =>
h(
NIcon,
{
size: 36,
style: {
marginTop: '-8px',
},
},
{
default: () => h(getIconComponent(row.logo)),
}
),
default: () => h(getIconComponent(row.logo)),
}
);
}