每当我的模板中没有遵守条件时,我就注意到了DOM中的这个绿色事物
可以避免这种行为吗?
这只是一个空的html-comment-tag
<html> <!-- this is a comment --> </html>
注释不会显示在浏览器中。这是ember的实现细节,所以无法避免。没有必要避免它。