This commit is contained in:
2025-11-03 15:06:02 +08:00
parent 1ac3732bda
commit 571981c143
3 changed files with 14 additions and 14 deletions

View File

@@ -77,7 +77,7 @@ namespace Stary.Evo
//loaddoamin绘制
// 获取当前选中的索引
if (currentStage == StageType.Developer)
if (currentStage == StageType.Developer && loadDomainNames != null && loadDomainNames.Length > 1)
{
int loadDomainSelectedIndex = System.Array.IndexOf(loadDomainNames, loadDomain.stringValue);
if (loadDomainSelectedIndex < 0) loadDomainSelectedIndex = 0; // 默认选中第一个