diff --git a/Assets/Scripts/UI/UIScore.cs b/Assets/Scripts/UI/UIScore.cs index 1b8d5ea4..f6f3bbb5 100644 --- a/Assets/Scripts/UI/UIScore.cs +++ b/Assets/Scripts/UI/UIScore.cs @@ -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(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