I can't pass a parameter to a function the variable goes undefined, Angular 11

前端 未结 0 1793
再見小時候
再見小時候 2021-02-13 17:57
ngOnInit(){
    this.user = localStorage.getItem(\'user\');
    this.accounts.getAccountData(this.user.uid,(res) => {
    this.playerData = res;
    });
}


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