Match-id-a889c6b66e320203447be4d1bcf1011b502b27c4

This commit is contained in:
* 2023-01-16 20:04:55 +08:00
parent ef3ffc5bce
commit cdc872be3f
1 changed files with 5 additions and 0 deletions

View File

@ -65,6 +65,11 @@ const act = fun => {
asyncUpdates(fun); asyncUpdates(fun);
callRenderQueueImmediate(); callRenderQueueImmediate();
runAsyncEffects(); runAsyncEffects();
// 兼容返回Promise
return new Promise((resolve, reject) => {
resolve(null);
});
}; };
import { import {