mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 16:43:55 +00:00
Merge pull request #515 from agoalofalife/master
fix in client : validate method
This commit is contained in:
commit
b051e740ea
@ -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: context.store' : '') %>
|
||||
})
|
||||
})
|
||||
if (!isValid) {
|
||||
|
Loading…
Reference in New Issue
Block a user