Match-id-a889c6b66e320203447be4d1bcf1011b502b27c4
This commit is contained in:
parent
ef3ffc5bce
commit
cdc872be3f
|
@ -65,6 +65,11 @@ const act = fun => {
|
|||
asyncUpdates(fun);
|
||||
callRenderQueueImmediate();
|
||||
runAsyncEffects();
|
||||
|
||||
// 兼容返回Promise
|
||||
return new Promise((resolve, reject) => {
|
||||
resolve(null);
|
||||
});
|
||||
};
|
||||
|
||||
import {
|
||||
|
|
Loading…
Reference in New Issue