createEmbeddedView (this.tpl, {name: `yyz`}); } } 複製程式碼 ... 詳細api參見 https://angular.io/api/core/ViewContainerRef#createEmbeddedView ...
確定! 回上一頁