雖然我們可以通過使用ViewContainerRef 將ElementRef創建的視圖插入指定的位置,但是仍然希望有某中快捷的方式幫我們實現。 ngTemplateOutlet ...
確定! 回上一頁