Compare commits

..

2 Commits

Author SHA1 Message Date
797e7e2dfc Merge remote-tracking branch 'origin/master' into LouDi_Pig 2025-03-03 11:10:42 +08:00
shenjianxing
c3058aa6a8 增加姓名和学号不能为空的提示 2025-03-01 12:52:39 +08:00

View File

@ -17,7 +17,10 @@ namespace QFramework.Example
{
if (string.IsNullOrEmpty(InputName.text) || string.IsNullOrEmpty(InputId.text))
{
Debug.LogError("姓名或者学号为空");
UITipWindowData data = new UITipWindowData();
data.txt = "姓名或者学号为空";
data.btns.Add(new UITipWindowData.ItemData() { txt = "确定" });
UIKit.OpenPanelAsync<UITipWindow>(canvasLevel: UILevel.PopUI, uiData: data).ToAction().Start(this);
return;
}
@ -39,7 +42,6 @@ namespace QFramework.Example
DownLoad.interactable = false;
AsposeHelper.Writer(GetScoreDataJson(), result =>
{
Debug.LogError("111");
DownLoad.interactable = true;
});
#endif