Skip to content

Commit

Permalink
[core] fix click event error on eagle
Browse files Browse the repository at this point in the history
  • Loading branch information
jianhan-he committed Dec 11, 2018
1 parent 5e5d731 commit 09de7ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion weex_core/Source/core/data_render/vnode/vcomponent.cc
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ void VComponent::MoveTo(VComponent *new_component) {
new_component->has_dispatch_created_ = has_dispatch_created_;
new_component->id_ = id_;
new_component->SetRootNode(root_vnode_.release());
if (!Equal(new_component)) {
if (!new_component->Equal(this)) {
new_component->UpdateData();
}
has_moved_ = true;
Expand Down

0 comments on commit 09de7ad

Please sign in to comment.