修改bug

This commit is contained in:
shenjianxing 2025-05-26 13:16:18 +08:00
parent 0a6fcca29a
commit 9d0bd2119f

View File

@ -5,6 +5,7 @@ using System.Collections.Generic;
using TMPro;
using System;
using static OperationController;
using System.Security.Cryptography;
namespace QFramework.Example
{
@ -139,11 +140,19 @@ namespace QFramework.Example
// ½âÎö²»Îª¿Õ
if (string.IsNullOrEmpty(mData.des) == false)
{
if (Des.text == string.Empty)
Check(true, count =>
{
Des.text = mData.des;
return;
}
if (count != mData.answers.Count)
{
Des.text = mData.des;
return;
}
else
{
HideSelf();
}
});
return;
}
else
{
@ -202,7 +211,6 @@ namespace QFramework.Example
{
count = mData.answers.Count;
}
Des.text = mData.des;
callback?.Invoke(count);
}
}