Angular 10 service undefined when called from *ngFor in template

前端 未结 0 784
孤城傲影
孤城傲影 2020-11-30 14:23

I have the following SessionService.component.ts with a logout() method:

@Injectable({ providedIn: \'root\' })
export class SessionS         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题