React/Ant Design fix back button

后端 未结 0 1533
-上瘾入骨i
-上瘾入骨i 2021-01-27 18:57

I have an app written in React and Ant Design pro. I have a logout method:

  logout() {
  removeToken();
  if (window.location.pathname !== \'/user/login\' &&         


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