使用@ViewChild, 拿到id为tpl的ng-template引用,类型为TemplateRef. ... TemplateRef<void> <ng-template #模板名称></ng-template> 转载 ...
確定! 回上一頁