是否可以在SwiftUI中禁用NavigationLink过渡动画?更准确地说。我想禁用它只有几个链接/视图。不是整个应用
use: .animation(.none)
eg:NavigationLink(destination: PdfView(isDepartures:false, ECFolioViewModel: FolioViewModel, isFromEasyCheckout: true),isActive:$FolioViewModel.isSuccess,label: { EmptyView()} ).animation(.none)