Fix hot-reload on data

This commit is contained in:
Sébastien Chopin 2016-12-27 17:02:03 +01:00
parent 0a3577b4c0
commit 0e1f0af3b9

View File

@ -216,6 +216,7 @@ function hotReloadAPI (_app) {
})
promises.push(p)
} else if (Component._cData) {
Component._data = Component.options.data
Component.options.data = Component._cData
Component._Ctor.options.data = Component.options.data
}