Angular - The interceptor class local variable not reflecting change inside intercept function

前端 未结 0 1366
情歌与酒
情歌与酒 2020-12-18 14:31

My intercept class has a token as a local variable.

I have a function autoLogin() in the same file (interceptor)

This autoLogin is called in ngOnInit

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