This commit is contained in:
kwai
2023-02-27 20:19:08 +08:00
parent f8c2115f03
commit 6464cad46e
4 changed files with 51 additions and 2 deletions

View File

@@ -356,7 +356,7 @@ namespace AIStudio.Wpf.Mind.ViewModels
}
else
{
node = new MindNode(Root, NodeLevel + 1, this.MindType) { Text = "分支主题" };
node = new MindNode(Root, (NodeLevel)Math.Min((int)NodeLevel + 1, (int)NodeLevel.Level4), this.MindType) { Text = "分支主题" };
}
AddChild(node);