|
@ -53,7 +53,7 @@ export function resolveAsyncComponent ( |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
const owner = currentRenderingInstance |
|
|
const owner = currentRenderingInstance |
|
|
if (isDef(factory.owners) && factory.owners.indexOf(owner) === -1) { |
|
|
if (owner && isDef(factory.owners) && factory.owners.indexOf(owner) === -1) { |
|
|
// already pending
|
|
|
// already pending
|
|
|
factory.owners.push(owner) |
|
|
factory.owners.push(owner) |
|
|
} |
|
|
} |
|
@ -62,7 +62,7 @@ export function resolveAsyncComponent ( |
|
|
return factory.loadingComp |
|
|
return factory.loadingComp |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if (!isDef(factory.owners)) { |
|
|
if (owner && !isDef(factory.owners)) { |
|
|
const owners = factory.owners = [owner] |
|
|
const owners = factory.owners = [owner] |
|
|
let sync = true |
|
|
let sync = true |
|
|
|
|
|
|
|
|