Merge branch 'master' into LouDi_Quan

This commit is contained in:
shenjianxing 2025-03-01 12:55:05 +08:00
commit 59d38ca1ae

View File

@ -17,7 +17,10 @@ namespace QFramework.Example
{ {
if (string.IsNullOrEmpty(InputName.text) || string.IsNullOrEmpty(InputId.text)) 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; return;
} }
@ -39,7 +42,6 @@ namespace QFramework.Example
DownLoad.interactable = false; DownLoad.interactable = false;
AsposeHelper.Writer(GetScoreDataJson(), result => AsposeHelper.Writer(GetScoreDataJson(), result =>
{ {
Debug.LogError("111");
DownLoad.interactable = true; DownLoad.interactable = true;
}); });
#endif #endif