mirror of https://github.com/nuxt/nuxt.git
fix(nuxt): do not provide default `prefetchOn` prop (#28630)
This commit is contained in:
parent
3e713d31dc
commit
66f4c5553e
|
@ -253,10 +253,7 @@ export function defineNuxtLink (options: NuxtLinkOptions) {
|
||||||
},
|
},
|
||||||
prefetchOn: {
|
prefetchOn: {
|
||||||
type: [String, Object] as PropType<NuxtLinkProps['prefetchOn']>,
|
type: [String, Object] as PropType<NuxtLinkProps['prefetchOn']>,
|
||||||
default: options.prefetchOn || {
|
default: undefined,
|
||||||
visibility: true,
|
|
||||||
interaction: false,
|
|
||||||
} satisfies NuxtLinkProps['prefetchOn'],
|
|
||||||
required: false,
|
required: false,
|
||||||
},
|
},
|
||||||
noPrefetch: {
|
noPrefetch: {
|
||||||
|
|
Loading…
Reference in New Issue