Optimize the rendering logic for the Collapse and Tabs child components(#101)

This commit is contained in:
liao文禧
2024-05-13 11:14:51 +08:00
parent 0d39919889
commit 2695e5b8a2
8 changed files with 27 additions and 21 deletions

View File

@@ -19,6 +19,8 @@ export default function RelationshipsTab() {
? `${selectedElement.id}`
: ""
}
keepDOM
lazyRender
onChange={(k) =>
setSelectedElement((prev) => ({
...prev,