Popstate event Registered on body.onload works only after first mouse click on the document

前端 未结 0 1489
陌清茗
陌清茗 2020-12-18 15:27

Steps to reproduce the problem:

  1. Place popstate event in all pages of your webapp and bind pop state event in body.onload and use history.push
相关标签:
回答
  • 消灭零回复
提交回复
热议问题