How to keep the first page active using single page application?

前端 未结 0 1929
耶瑟儿~
耶瑟儿~ 2020-12-02 12:53

I have a simple single page app that changes the url according to the active DIV, but when I go back to the first page, the content disappears.It happens when I use popstate

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