先上代码 setTimeout(() => { debugger; }, 2000) 2秒后启动debugger,这个时候页面的渲染进程就会被中断,就能让样式保持在2秒时的样式了 I believe your apartment is on fire