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

pull/4186/head
Riley Ho 2 months ago committed by GitHub
parent 6b4439a9e6
commit 9c5d348c03
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save