../Contents/info.plist配置文件<dict>节点加上: <key>NSRequiresAquaSystemAppearance</key> <true/> 即可不受系统设置深色模式的影响。