Browse Source

Nested先于父节点报错修改

zhenglijun 6 days ago
parent
commit
2e3ce1f456
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Assets/Scripts/Framework/Runtime/UI/View/Impl/UIView.cs

+ 1 - 1
Assets/Scripts/Framework/Runtime/UI/View/Impl/UIView.cs

@@ -32,8 +32,8 @@ namespace XGame.Framework.UI
             if (Active) return;
             Active = true;
             _panel.SetActive(true);
-            _ctrlGroup.Enable(intent);
             (_viewModel as IUIVMInternal).EnableChildren(intent);
+            _ctrlGroup.Enable(intent);
         }
         void IUIView.Disable()
         {