fix href and to attribute clashes

This commit is contained in:
Hayden 2022-10-23 19:46:43 -08:00
parent 9b9141cb7c
commit 198dba60fa

View file

@ -3,7 +3,6 @@
v-if="to"
v-bind="attributes"
ref="submitBtn"
:to="to"
class="btn"
:class="{
loading: loading,
@ -64,7 +63,7 @@
const attributes = computed(() => {
if (props.to) {
return {
href: props.to,
to: props.to,
};
}
return {