From 7237b9fd07aac1f63abfed4719ee6cf3986c6f04 Mon Sep 17 00:00:00 2001 From: "pengfei.zhou" Date: Mon, 9 Dec 2019 19:50:21 +0800 Subject: [PATCH] after reload,invoke onShow --- Pod/Classes/DoricContext.m | 1 + 1 file changed, 1 insertion(+) diff --git a/Pod/Classes/DoricContext.m b/Pod/Classes/DoricContext.m index d675a141..27fc76e7 100644 --- a/Pod/Classes/DoricContext.m +++ b/Pod/Classes/DoricContext.m @@ -86,6 +86,7 @@ - (void)reload:(NSString *)script { self.script = script; [self.driver createContext:self.contextId script:script source:self.source]; [self callEntity:DORIC_ENTITY_INIT, self.initialParams, nil]; + [self onShow]; } - (void)onShow {