答案是有的,我们可以使用 ng-container 指令。 ng-container. <ng-container> 是一个逻辑容器,可用于对节点进行分组,它将被渲染为HTML中的 comment ...
確定! 回上一頁