fix in client : validate method

This commit is contained in:
Ilya 2017-04-05 21:40:46 +03:00 committed by GitHub
parent 4c012e93af
commit 17db23f45f
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +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 || {}<%= (store ? ', store: ctx.store' : '') %> query : to.query || {}<%= (store ? ', store: store' : '') %>
}) })
}) })
if (!isValid) { if (!isValid) {