fix(suspense): clear effects on suspense resolve
This commit is contained in:
parent
be91b43564
commit
ebc1ca8eff
@ -329,6 +329,7 @@ function createSuspenseBoundary<HostNode, HostElement>(
|
||||
queuePostFlushCb(effects)
|
||||
}
|
||||
suspense.isResolved = true
|
||||
suspense.effects = []
|
||||
// invoke @resolve event
|
||||
const onResolve = vnode.props && vnode.props.onResolve
|
||||
if (isFunction(onResolve)) {
|
||||
|
Loading…
Reference in New Issue
Block a user