From e3351e66c79c82faa5088db089d486084d78a04f Mon Sep 17 00:00:00 2001 From: ilikethese Date: Thu, 20 Jul 2023 18:11:22 +0800 Subject: [PATCH] fix(dom): fix dom ext style diff error --- dom/src/dom/dom_node.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom/src/dom/dom_node.cc b/dom/src/dom/dom_node.cc index d502c1d0982..64d4a06bd7c 100644 --- a/dom/src/dom/dom_node.cc +++ b/dom/src/dom/dom_node.cc @@ -489,7 +489,7 @@ void DomNode::UpdateDiff(const std::unordered_map>& update_dom_ext) { auto style_diff_value = DiffUtils::DiffProps(*this->GetStyleMap(), update_style); - auto ext_diff_value = DiffUtils::DiffProps(*this->GetStyleMap(), update_dom_ext); + auto ext_diff_value = DiffUtils::DiffProps(*this->GetExtStyle(), update_dom_ext); auto style_update = std::get<0>(style_diff_value); auto ext_update = std::get<0>(ext_diff_value); std::shared_ptr diff_value = std::make_shared();