隐藏Chrome开发者控制台中包含特定字词的错误

问题描述 投票:0回答:1

我需要隐藏一些错误(包含“props.style”):

enter image description here

enter image description here

这会污染我的开发者控制台。我想通过这个词隐藏它们将是最好的。我尝试在SO上添加一些正则表达式模式,如this one,到过滤器,但它们似乎隐藏了所有错误。如何用“props.style”隐藏错误?

google-chrome google-chrome-devtools google-chrome-console
1个回答
1
投票

使用negative filter-props.style

正则表达式也有效:-/props\.style/

© www.soinside.com 2019 - 2024. All rights reserved.