diff --git a/packages/vue-app/template/client.js b/packages/vue-app/template/client.js index d093c34c08..0de765de57 100644 --- a/packages/vue-app/template/client.js +++ b/packages/vue-app/template/client.js @@ -491,6 +491,7 @@ function fixPrepatch(to, ___) { if ( instance.constructor._dataRefresh && Components[i] === instance.constructor && + instance.$vnode.data.keepAlive !== true && typeof instance.constructor.options.data === 'function' ) { const newData = instance.constructor.options.data.call(instance)