我可以访问 ElementRef 在组件构造函数中: export class MyComponent { constructor(element: ElementRef) { element.nativeElement 这个DOM 元素的状态是什么:
確定! 回上一頁