fix(Link): prevent type bind on <a>

This commit is contained in:
Benjamin Canac
2024-01-11 11:15:08 +01:00
parent 969b02d936
commit b0df864379

View File

@@ -2,6 +2,7 @@
<component
:is="as"
v-if="!to"
:type="type"
:disabled="disabled"
v-bind="$attrs"
:class="active ? activeClass : inactiveClass"
@@ -42,6 +43,10 @@ export default defineComponent({
type: String,
default: 'button'
},
type: {
type: String,
default: 'button'
},
disabled: {
type: Boolean,
default: null