修复bug
This commit is contained in:
parent
e506167b3e
commit
11da176fab
@ -132,7 +132,7 @@ namespace QFramework.Example
|
||||
if (string.IsNullOrEmpty(item.var))
|
||||
{
|
||||
Transform trans = InputContent.transform.Find(item.name);
|
||||
string inputStr = trans.Find("Input").GetComponent<TextMeshProUGUI>().text;
|
||||
string inputStr = trans.Find("Input").GetComponent<TMP_InputField>().text;
|
||||
if (list.Contains(inputStr))
|
||||
{
|
||||
return true;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user