enableProdMode
禁用 Angular 的开发模式,该模式将关闭框架中的断言和其他检查。
Disable Angular's development mode, which turns off assertions and other checks within the framework.
说明
一个重要的断言,它禁用了对变更检测不会导致对任何绑定的(也称为单向数据流)额外更改的验证。
One important assertion this disables verifies that a change detection pass does not result in additional changes to any bindings (also known as unidirectional data flow).