Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
[iOS] fix data render in renderview interface (#1559)
Browse files Browse the repository at this point in the history
  • Loading branch information
jianhan-he authored and cxfeng1 committed Sep 20, 2018
1 parent 1c3a440 commit f8c851f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m
Original file line number Diff line number Diff line change
Expand Up @@ -266,11 +266,10 @@ - (void)renderView:(id)source options:(NSDictionary *)options data:(id)data
if ([source isKindOfClass:[NSString class]]) {
WXLogDebug(@"Render source: %@, data:%@", self, [WXUtility JSONString:data]);
[self _renderWithMainBundleString:source];
[WXTracingManager setBundleJSType:source instanceId:self.instanceId];
} else if ([source isKindOfClass:[NSData class]]) {
[self _renderWithOpcode:source];
}

[WXTracingManager setBundleJSType:source instanceId:self.instanceId];
}

- (NSString*) bundleTemplate
Expand Down

0 comments on commit f8c851f

Please sign in to comment.