来源:https://stackoverflow.com/questions/62469060/angular-how-to-check-if-a-component-tag-has-specific-attribute-on-it 标签 javascript angular dom