Angular官方教程HTTP节的小坑

创建in-memory-data.service.ts时要用命令:

ng generate service in-memory-data

否则会失败。

你可能感兴趣的:(Angular官方教程HTTP节的小坑)