react切换路由跳转后,页面会变成空白,得刷新页面才能正常显示页面,用的react-router-domv5,这是什么原因?
hash模式吗? 还是 history
试下是不是路由跳转的时候并没刷新路由