fix: Remove console.log

This commit is contained in:
Atinux 2017-11-07 11:51:46 +01:00
parent 6dfe660412
commit 312ce81a6e

View File

@ -388,7 +388,6 @@ function fixPrepatch(to, ___) {
instances.forEach((instance, i) => {
if (!instance) return
if (instance.constructor._dataRefresh && _lastPaths[i] === instance.constructor._path && typeof instance.constructor.options.data === 'function') {
console.log('Refresh instance', instance)
const newData = instance.constructor.options.data.call(instance)
for (let key in newData) {
Vue.set(instance.$data, key, newData[key])