开发工具持续报:[Violation] 'setTimeout' handler took xxx?

发布于 8 年前作者 rli1374 次浏览最后编辑 8 年前来自 issues

工具版本号:1.03.2011120。

使用环境:mac。

页面中使用定时器,发现连续报警告:[Violation] ‘setTimeout’ handler took xxxms。然后把所有定时器代码注释掉,仍然报警告。

而且我这边有两个页面使用了定时器,在所有位置 clearTimeout 之后,其中一个页面不报警告了,另一个页面仍然连续报警告。

1 回复
xiuying96
xiuying961 楼5 年前

清除缓存重试,这个应该是编译太慢