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