mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-30 15:22:39 +00:00
fix in client : validate method
This commit is contained in:
parent
4c012e93af
commit
17db23f45f
@ -130,7 +130,7 @@ function render (to, from, next) {
|
||||
if (typeof Component.options.validate !== 'function') return
|
||||
isValid = Component.options.validate({
|
||||
params: to.params || {},
|
||||
query: to.query || {}<%= (store ? ', store: ctx.store' : '') %>
|
||||
query : to.query || {}<%= (store ? ', store: store' : '') %>
|
||||
})
|
||||
})
|
||||
if (!isValid) {
|
||||
|
Loading…
Reference in New Issue
Block a user