fix: Non-function value encountered for default slot
This commit is contained in:
parent
05a08bff4f
commit
c7ba5b4b1d
@ -57,7 +57,7 @@ function genRoleOptionlabel(role: Role) {
|
||||
}
|
||||
return h('div', { class: 'flex items-center gap-[6px]' }, [
|
||||
h('span', null, role.roleName),
|
||||
h(Tag, { color: found.color }, found.label),
|
||||
h(Tag, { color: found.color }, () => found.label),
|
||||
]);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user