mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
Update client.js
This commit is contained in:
parent
9c4244635c
commit
99a03812a4
@ -129,8 +129,8 @@ function render (to, from, next) {
|
||||
if (!isValid) return
|
||||
if (typeof Component.options.validate !== 'function') return
|
||||
isValid = Component.options.validate({
|
||||
params : to.params || {},
|
||||
query : to.query || {}<%= (store ? ', store: ctx.store' : '') %>
|
||||
params: to.params || {},
|
||||
query: to.query || {}<%= (store ? ', store: ctx.store' : '') %>
|
||||
})
|
||||
})
|
||||
if (!isValid) {
|
||||
|
Loading…
Reference in New Issue
Block a user