diff --git a/Assets/Scripts/UI/UIOperationList.cs b/Assets/Scripts/UI/UIOperationList.cs index 29aed0e8..5384d58d 100644 --- a/Assets/Scripts/UI/UIOperationList.cs +++ b/Assets/Scripts/UI/UIOperationList.cs @@ -96,7 +96,6 @@ namespace QFramework.Example Transform title = obj.transform.Find("Title"); var name = title.Find("Name").GetComponent(); name.text = item.Name; - var arrow = title.Find("Arrow").transform; Image highIcon = title.Find("HighIcon").GetComponent(); Color highColor = new Color(25f / 255f, 224f / 255f, 224f / 255f); GameObject subContent = obj.transform.Find("SubContent").gameObject; @@ -104,7 +103,6 @@ namespace QFramework.Example subContent.gameObject.SetActive(false); btn.name = btns.Count.ToString(); btns.Add(btn); - arrow.gameObject.SetActive(subContent.transform.childCount > 0); btn.onClick.AddListener(() => { subContent.SetActive(!subContent.activeSelf);