web:fix cannot execute hookAfter in web promise,use setTimeout instead
This commit is contained in:
@@ -41,7 +41,7 @@ ${content}
|
||||
|
||||
function initDoric() {
|
||||
injectGlobalObject("Environment", {
|
||||
platform: "h5"
|
||||
platform: "web"
|
||||
})
|
||||
|
||||
injectGlobalObject("nativeEmpty", () => undefined)
|
||||
|
Reference in New Issue
Block a user