Github user acton393 commented on a diff in the pull request:

    https://github.com/apache/incubator-weex/pull/1047#discussion_r172835622
  
    --- Diff: ios/sdk/WeexSDK/Sources/Component/WXWebComponent.m ---
    @@ -104,6 +142,10 @@ - (void)updateAttributes:(NSDictionary *)attributes
         if (attributes[@"src"]) {
             self.url = attributes[@"src"];
         }
    +
    +    if (attributes[@"source"]) {
    --- End diff --
    
    maybe we should update the initSource when update attributes,
    as the view can be unloaded during the screen scroll, so the viewDidLoad 
method can called again with initSource


---

Reply via email to