fix(theme): respect custom tag prop in VPButton component

pull/4185/head
Riley Ho 1 year ago
parent 6b4439a9e6
commit e814bea2b0
No known key found for this signature in database

@ -22,7 +22,7 @@ const isExternal = computed(
)
const component = computed(() => {
return props.tag || props.href ? 'a' : 'button'
return props.tag || (props.href ? 'a' : 'button')
})
</script>

Loading…
Cancel
Save