解决登录页面跳转后进入首页出现接口的数据渲染到页面上 用户退出登录后 用window.open(window.location.href.split("#/")[0] + "#/index13/test",'_self').location; 当前页退出 不要用_black退出 否则会遇到这个问题