请检查【app.module.ts】文件中的【declarations】模块最后是否多了一个逗号 (完) 转载于:https://www.cnblogs.com/lishidefengchen/p/11271215.html