diff --git a/lib/app/client.js b/lib/app/client.js index db3edeeb11..49ec770ad7 100644 --- a/lib/app/client.js +++ b/lib/app/client.js @@ -129,8 +129,9 @@ 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 || {} + params : to.params || {}, + query : to.query || {}, + store : context.store.state || {} }) }) if (!isValid) {