fix(lesson-preparation): 重命名 TreeNodeRow.children prop 为 childItems 避免 react/no-children-prop

This commit is contained in:
SpecialX
2026-07-04 11:36:41 +08:00
parent 8ff14fce1c
commit 85121c49a3
2 changed files with 5 additions and 5 deletions

View File

@@ -100,7 +100,7 @@ export function StructureTree() {
hasChildren={hasChildren}
isChildrenExpanded={isTreeNodeExpanded}
onToggleChildren={() => toggleTreeNode(node.id)}
children={childItems}
childItems={childItems}
/>
);
})}