获取错误的解决方法 enter image description here
enter image description here
<ul *ngFor="let employee of employees></ul>
语法错误,关闭ul标签
这将起作用。