完善搜索功能

This commit is contained in:
shenjianxing 2025-04-14 10:30:33 +08:00
parent a19b26f341
commit f66df0aab2

View File

@ -217,7 +217,7 @@ namespace QFramework.Example
SearchContent.gameObject.SetActive(true); SearchContent.gameObject.SetActive(true);
Content.gameObject.SetActive(false); Content.gameObject.SetActive(false);
}); });
Input.onEndEdit.AddListener(str => Input.onValueChanged.AddListener(str =>
{ {
if (string.IsNullOrEmpty(str)) if (string.IsNullOrEmpty(str))
{ {