fix: renderLink

pull/5/MERGE
xingyu 2023-04-25 10:52:11 +08:00
parent 73c496946f
commit a76e515876
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ export const useRender = {
*/
renderLink: (url, text?) => {
if (url) {
return h(Button, { type: 'link', href: text }, () => text || '')
return h(Button, { type: 'link', href: url, target: '_blank' }, () => text || '')
}
return ''
},