断线重连取数据逻辑
This commit is contained in:
1 parent
167a424505
commit
3f8c189ad4
3 files changed
+25
-8
No files matched your search
@@ -201,7 +201,7 @@ public class RowerMultiModeScript : MonoBehaviour
|
||||
public async void GetShadowList(RowerTaskPanel.RowerType rowerType, RowerResultModel reRowData)
|
||||
{
|
||||
this.rowerType = rowerType;
|
||||
currentSecond = -1;
|
||||
currentSecond = GetComponent<RowerHomeScript>().historyTime - 1;
|
||||
//if(Application.internetReachability == NetworkReachability.NotReachable)
|
||||
var res = reRowData ==null? await ConfigHelper.rowerApi.GetShadowList(rowerType): await ConfigHelper.rowerApi.GetReRowShadowList(reRowData.Id);
|
||||
shadowList = res.data;
|
||||
|
||||
Reference in new issue
Block a user