继骑&重骑骑行结果页细节调整
This commit is contained in:
1 parent
018699c944
commit
afba150d91
34 files changed
+3601
-2379
No files matched your search
@@ -74,6 +74,8 @@ namespace Assets.Scripts.UI.Prefab.Login
|
||||
}
|
||||
public int GetCountryIndexByCode(string code)
|
||||
{
|
||||
if (string.IsNullOrEmpty(code))
|
||||
return countryDefaultValue;
|
||||
var c = countryList.FindIndex(x => x.abbreviation.ToLower() == code.ToLower());
|
||||
if (c == -1) return countryDefaultValue;
|
||||
return c;
|
||||
|
||||
Reference in new issue
Block a user