Chrome Dev Tool > Coverage > css 显示 100% 未使用但实际使用

问题描述

我正在使用 IIS 在本地主机中使用 chrome 开发工具。有一个文件 app.css 在覆盖工具上显示为 100% 未使用(在源代码中),但是当我在 Elements 选项卡中看到时,页面上正在使用该样式。在网络选项卡上,我删除了缓存。这个工具在 localhost 下不起作用吗?

这里显示这部分代码没有使用

Here it is showing that this part of the code is unused


在 Elements 选项卡上,它实际上正在被使用:

On the Elements tab it is actually being used

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)