Match-id-6e5a892ace868547d76377206bd2654e93dfc333

This commit is contained in:
* 2022-03-29 16:07:21 +08:00 committed by *
parent 0b56fb4104
commit bc59541e0c
1 changed files with 4 additions and 2 deletions

View File

@ -54,11 +54,13 @@ export function captureFunctionComponent(
nextProps: any,
shouldUpdate?: boolean,
) {
// 函数组件内已完成异步动作
if (processing.isSuspended) {
// 由于首次被打断,应仍为首次渲染
processing.isCreated = true;
processing.isSuspended = false;
FlagUtils.markAddition(processing);
processing.isSuspended = false;
}
resetDepContexts(processing);