From 17db23f45ff7d7e096f920a503a01dd57628cf87 Mon Sep 17 00:00:00 2001 From: Ilya Date: Wed, 5 Apr 2017 21:40:46 +0300 Subject: [PATCH] fix in client : validate method --- lib/app/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/app/client.js b/lib/app/client.js index ad935ff848..438919ee5b 100644 --- a/lib/app/client.js +++ b/lib/app/client.js @@ -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) {