mirror of
https://github.com/hay-kot/homebox.git
synced 2025-08-03 16:20:27 +00:00
fix href and to attribute clashes
This commit is contained in:
parent
9b9141cb7c
commit
198dba60fa
1 changed files with 1 additions and 2 deletions
|
@ -3,7 +3,6 @@
|
||||||
v-if="to"
|
v-if="to"
|
||||||
v-bind="attributes"
|
v-bind="attributes"
|
||||||
ref="submitBtn"
|
ref="submitBtn"
|
||||||
:to="to"
|
|
||||||
class="btn"
|
class="btn"
|
||||||
:class="{
|
:class="{
|
||||||
loading: loading,
|
loading: loading,
|
||||||
|
@ -64,7 +63,7 @@
|
||||||
const attributes = computed(() => {
|
const attributes = computed(() => {
|
||||||
if (props.to) {
|
if (props.to) {
|
||||||
return {
|
return {
|
||||||
href: props.to,
|
to: props.to,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue