From f3e84325f2c7a96d9de2a255db2d046d18d7bcca Mon Sep 17 00:00:00 2001 From: Caisking <3449750381@qq.com> Date: Fri, 9 Aug 2024 18:02:20 +0800 Subject: [PATCH] =?utf8?q?=E4=BC=98=E5=8C=96=20UIViewGroup=20Add=20?= =?utf8?q?=E5=87=BD=E6=95=B0=20=E6=B7=BB=E5=8A=A0=E9=94=99=E8=AF=AF?= =?utf8?q?=E5=8F=AF=E4=BB=A5=E6=9F=A5=E7=9C=8B=E7=BB=84=E4=BB=B6=E4=BF=A1?= =?utf8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../gui/uikit/ui/frameworks/components/ui_view_group.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/sdk/middleware/services/gui/uikit/ui/frameworks/components/ui_view_group.cpp b/code/sdk/middleware/services/gui/uikit/ui/frameworks/components/ui_view_group.cpp index 090a2bdd9..e8c7a0c40 100755 --- a/code/sdk/middleware/services/gui/uikit/ui/frameworks/components/ui_view_group.cpp +++ b/code/sdk/middleware/services/gui/uikit/ui/frameworks/components/ui_view_group.cpp @@ -44,7 +44,8 @@ void UIViewGroup::Add(UIView* view) return; } if (view->GetParent() != nullptr) { - GRAPHIC_LOGE("can not add view multi times"); + UIViewType type = view->GetViewType(); + GRAPHIC_LOGE("can not add view multi times %d",type); return; } -- 2.17.1