![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
angular
MrLi-2018
量变于质变...
展开
-
angular12子父组件传值
1、父传子父组件<div> <ty-forme [item] = "currentItem"></ty-forme></div> export class HomeComponent implements OnInit { currentItem = "来自父组件"; }子组件<div> 父组件传来的值: {{item}}</div>import { Component,.原创 2021-09-02 14:43:03 · 335 阅读 · 0 评论 -
angular 12+NG-ZORRO -UI中使用Modal对话框时注意
当时我的代码是这样写的<div class="pages"> <button nz-button nzType="primary" class="addBtn">新建渠道</button> <div class="tableBox"> <nz-table #basicTable [nzData]="listOfData"> <thead> <原创 2021-08-05 17:20:00 · 3433 阅读 · 0 评论