新开窗口的时候,会有个窗口闪烁的问题,也可以理解为渐入效果 主进程中添加如下代码即可 app.commandLine.appendSwitch('wm-window-animations-disabled')