Angular is running in the development mode. Call enableProdMode() to enable the production mode.

控制台输出:Angular is running in the development mode. Call enableProdMode() to enable the production mode.

解决方法:

在main.ts中调用enableProdMode()方法

Angular is running in the development mode. Call enableProdMode() to enable the production mode._第1张图片

你可能感兴趣的:(angular,前端)