feat:fix dirty props cannot be rendered in promise

This commit is contained in:
pengfei.zhou
2021-03-04 14:35:34 +08:00
committed by osborn
parent aa56fd93d9
commit 936bd60293
10 changed files with 123 additions and 2 deletions

View File

@@ -1325,6 +1325,9 @@ var doric = (function (exports) {
}
const gContexts = new Map;
const gModules = new Map;
function allContexts() {
return gContexts.values();
}
function jsObtainContext(id) {
if (gContexts.has(id)) {
const context = gContexts.get(id);
@@ -1526,6 +1529,7 @@ var doric = (function (exports) {
exports.Context = Context;
exports.__require__ = __require__;
exports.allContexts = allContexts;
exports.jsCallEntityMethod = jsCallEntityMethod;
exports.jsCallReject = jsCallReject;
exports.jsCallResolve = jsCallResolve;