1 打开f12的开发者模式,选取对应要截图的内容的代码 2 点击选择所需部分后,按下 Ctrl + Shift + P ,在弹出框输入node 选取 Capture node screenshot点击运行,最后保存截图。