Swift ui macos列表SidebarListStyle()崩溃
代码: 当我尝试在列表中使用Swift ui macos列表SidebarListStyle()崩溃,swift,list,swiftui,Swift,List,Swiftui,代码: 当我尝试在列表中使用.listStyle(SidebarListStyle())时,它都崩溃了,我得到了在图像中看到的恐怖 有人能帮我吗 List(fetch.results) { el in Text("\(el.username)") }.listStyle(SidebarListStyle())
.listStyle(SidebarListStyle())
时,它都崩溃了,我得到了在图像中看到的恐怖
有人能帮我吗
List(fetch.results) { el in
Text("\(el.username)")
}.listStyle(SidebarListStyle())