来源:https://stackoverflow.com/questions/57668759/how-to-call-a-component-method-from-service-class-angular 标签 angular typescript angular2-services