|
0
|
| bluePearl · 技术社区 · 7 年前 |
|
1
1
您需要使用属性默认值(空)创建模型currentValue。同时请删除ngif代码。
https://stackblitz.com/edit/angular-9ywghz?file=src%2Fapp%2Fapp.component.ts |
|
|
2
-1
原因:
解决方案1:
在中运行应用程序时将出现此错误
解决方案2
:在中手动调用更改检测
|