mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-13 09:33:54 +00:00
Update client.js
This commit is contained in:
parent
99400bb12d
commit
7ef6411269
@ -130,8 +130,7 @@ function render (to, from, next) {
|
|||||||
if (typeof Component.options.validate !== 'function') return
|
if (typeof Component.options.validate !== 'function') return
|
||||||
isValid = Component.options.validate({
|
isValid = Component.options.validate({
|
||||||
params : to.params || {},
|
params : to.params || {},
|
||||||
query : to.query || {},
|
query : to.query || {}<%= (store ? ', store: ctx.store' : '') %>
|
||||||
store : context.store.state || {}
|
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
if (!isValid) {
|
if (!isValid) {
|
||||||
|
Loading…
Reference in New Issue
Block a user