diff --git a/lib/app/client.js b/lib/app/client.js index b4087f8129..de8b84f5c0 100644 --- a/lib/app/client.js +++ b/lib/app/client.js @@ -364,14 +364,6 @@ function fixPrepatch (to, ___) { _lastComponentsFiles = instances.map((instance, i) => { if (!instance) return ''; - - if (_lastPaths[i] === instance.constructor._path && typeof instance.constructor.options.data === 'function') { - const newData = instance.constructor.options.data.call(instance) - for (let key in newData) { - Vue.set(instance.$data, key, newData[key]) - } - } - return instance.constructor.options.__file })