File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,8 @@ extern NSString *const bundleUrlOptionKey;
75
75
**/
76
76
@property (nonatomic , assign ) BOOL needPrerender;
77
77
78
+ @property (nonatomic , strong ) NSDictionary * containerInfo;
79
+
78
80
/* *
79
81
* The state of current instance.
80
82
**/
Original file line number Diff line number Diff line change @@ -40,6 +40,11 @@ + (void)commitCriticalExceptionRT:(NSString *)instanceId errCode:(NSString *)err
40
40
WXSDKInstance * instance = [WXSDKManager instanceForID: instanceId];
41
41
if (instance){
42
42
bundleUrlCommit = instance.pageName ?:([instance.scriptURL absoluteString ]?:bundleUrlCommit);
43
+ if (instance.containerInfo && instance.containerInfo .count >0 ) {
44
+ NSMutableDictionary * extInfo = [[NSMutableDictionary alloc ] initWithDictionary: extParams];
45
+ [extInfo addEntriesFromDictionary: instance.containerInfo];
46
+ extParams = extInfo;
47
+ }
43
48
}else if ([instanceIdCommit hasPrefix: @" WX_KEY_EXCEPTION" ]){
44
49
bundleUrlCommit = instanceId;
45
50
}
You can’t perform that action at this time.
0 commit comments