|
|
@ -40,8 +40,8 @@ const ButtonLink = defineComponent({ |
|
|
|
return () => ( |
|
|
|
return () => ( |
|
|
|
<NButton {...props} onClick={onClick} text class={styles['button-link']}> |
|
|
|
<NButton {...props} onClick={onClick} text class={styles['button-link']}> |
|
|
|
{{ |
|
|
|
{{ |
|
|
|
default: renderSlot(slots, 'default'), |
|
|
|
default: () => renderSlot(slots, 'default'), |
|
|
|
icon: renderSlot(slots, 'icon') |
|
|
|
icon: () => renderSlot(slots, 'icon') |
|
|
|
}} |
|
|
|
}} |
|
|
|
</NButton> |
|
|
|
</NButton> |
|
|
|
) |
|
|
|
) |
|
|
|