web:fix cannot execute hookAfter in web promise,use setTimeout instead

This commit is contained in:
pengfei.zhou
2021-04-13 18:28:45 +08:00
committed by osborn
parent ace3d30e73
commit 4873ff535d
18 changed files with 140 additions and 1640 deletions

View File

@@ -41,7 +41,7 @@ ${content}
function initDoric() {
injectGlobalObject("Environment", {
platform: "h5"
platform: "web"
})
injectGlobalObject("nativeEmpty", () => undefined)