mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
fix: Remove console.log
This commit is contained in:
parent
6dfe660412
commit
312ce81a6e
@ -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])
|
||||
|
Loading…
Reference in New Issue
Block a user