|
|
1
1
添加以下行以进行检查:
在ts文件中:
|
|
2
0
你需要使用*ngIf。更新了Stackblitz代码。 https://stackblitz.com/edit/angular-fzyrji |
|
|
3
0
试着这样做:
使用
|