mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-13 09:33:54 +00:00
commit
f62696d293
@ -153,7 +153,7 @@ export default context => {
|
|||||||
if (typeof Component.options.validate !== 'function') return
|
if (typeof Component.options.validate !== 'function') return
|
||||||
isValid = Component.options.validate({
|
isValid = Component.options.validate({
|
||||||
params: context.route.params || {},
|
params: context.route.params || {},
|
||||||
query: context.route.query || {}<%= (store ? ', store: context.store' : '') %>
|
query: context.route.query || {}<%= (store ? ', store: ctx.store' : '') %>
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
if (!isValid) {
|
if (!isValid) {
|
||||||
|
Loading…
Reference in New Issue
Block a user