mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-02-02 21:27:54 +01:00
fix: to prop type
This commit is contained in:
@@ -81,7 +81,7 @@ const props = defineProps({
|
|||||||
default: false
|
default: false
|
||||||
},
|
},
|
||||||
to: {
|
to: {
|
||||||
type: [String, Object] as PropType<RouteLocationNormalized>,
|
type: [String, Object] as PropType<string | RouteLocationNormalized>,
|
||||||
default: null
|
default: null
|
||||||
},
|
},
|
||||||
target: {
|
target: {
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ import { RouterLink } from 'vue-router'
|
|||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
...RouterLink.props,
|
...RouterLink.props,
|
||||||
to: {
|
to: {
|
||||||
type: [String, Object] as PropType<RouteLocationNormalized>,
|
type: [String, Object] as PropType<string | RouteLocationNormalized>,
|
||||||
default: null
|
default: null
|
||||||
},
|
},
|
||||||
inactiveClass: {
|
inactiveClass: {
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ const props = defineProps({
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
to: {
|
to: {
|
||||||
type: [String, Object] as PropType<RouteLocationNormalized>,
|
type: [String, Object] as PropType<string | RouteLocationNormalized>,
|
||||||
default: null
|
default: null
|
||||||
},
|
},
|
||||||
click: {
|
click: {
|
||||||
|
|||||||
Reference in New Issue
Block a user