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.
我有一个 Ajax 调用,当用户忘记填写某个字段时,服务器会向我发送一个 HTTP 412 错误。
我可以处理调用函数向用户显示错误的错误,但我不希望错误出现在浏览器控制台上。这个怎么做?