Match-id-6e5a892ace868547d76377206bd2654e93dfc333
This commit is contained in:
parent
0b56fb4104
commit
bc59541e0c
|
@ -54,11 +54,13 @@ export function captureFunctionComponent(
|
||||||
nextProps: any,
|
nextProps: any,
|
||||||
shouldUpdate?: boolean,
|
shouldUpdate?: boolean,
|
||||||
) {
|
) {
|
||||||
|
// 函数组件内已完成异步动作
|
||||||
if (processing.isSuspended) {
|
if (processing.isSuspended) {
|
||||||
|
// 由于首次被打断,应仍为首次渲染
|
||||||
processing.isCreated = true;
|
processing.isCreated = true;
|
||||||
processing.isSuspended = false;
|
|
||||||
|
|
||||||
FlagUtils.markAddition(processing);
|
FlagUtils.markAddition(processing);
|
||||||
|
|
||||||
|
processing.isSuspended = false;
|
||||||
}
|
}
|
||||||
resetDepContexts(processing);
|
resetDepContexts(processing);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue