macOS|常用 SwiftUI 修饰器

menuIndicator:隐藏菜单指示器

macOS 系统中,导航栏的 Menu 组件右侧会自动显示向下箭头:

可以使用 .menuIndicator() 修饰器隐藏它: