摘要: Angular 双向绑定 利用一个例子来看看破坏双向绑定 // parent component html <child [val]='val'/> <button (onClick)="val=1">Reset</button> // child component html <span>{{va 阅读全文
posted @ 2021-06-16 22:24 kongshu 阅读(132) 评论(0) 推荐(0) 编辑