在组件的constructor中引入 ElementRef 来操作DOM元素
constructor(myElement: ElementRef) { ... }
名称(*)
邮箱
网址
正文(*)
◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。