Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可能重复: JavaScript 打印被 Chrome 阻止,解决方法?
当我print()在 Google Chrome 中进行 2 次或更多方法调用时,浏览器会print()在最新版本的 Chrome 中阻止该功能。
print()
这是我在控制台中得到的错误:
忽略对 print() 的过于频繁的调用。