This commit is contained in:
Sebastien Chopin 2017-08-21 13:54:41 +02:00
parent d1a6b2bc80
commit fed644ddf6

View File

@ -280,7 +280,7 @@ async function render (to, from, next) {
await Promise.all(Components.map((Component, i) => {
// Check if only children route changed
Component._path = compile(to.matched[i].path)(to.params)
if (!this._hadError && Component._path === _lastPaths[i] && (i + 1) !== Components.length) {
if (!this._hadError && this._isMounted && Component._path === _lastPaths[i] && (i + 1) !== Components.length) {
return Promise.resolve()
}