h(
NButton,
{
iconPlacement:'right',
onClick: () => {
router.replace({
path: '/configure/matrix',
query: {
redirect: '',
},
});
}
},
{
default: () => '111',
icon: () => h(
NIcon, null,
{ default: () => h(ArrowRedo) }),
}
)
或者
h(
NButton,
{
iconPlacement:'right',
onClick: () => {
router.replace({
path: '/configure/matrix',
query: {
redirect: '',
},
});
}
},
{
default: () => '111',
icon: () =>{
return h(
NIcon,
{
placement:'right',
},
{ default: () => h(ArrowRedo) })
},
}
)