diff --git a/lib/app/server.js b/lib/app/server.js index f1dde07c7f..9726c99637 100644 --- a/lib/app/server.js +++ b/lib/app/server.js @@ -152,8 +152,9 @@ export default context => { if (!isValid) return if (typeof Component.options.validate !== 'function') return isValid = Component.options.validate({ - params: context.route.params || {}, - query: context.route.query || {} + params : context.route.params || {}, + query : context.route.query || {}, + store : context.store.state || {} }) }) if (!isValid) {