session失效刷新后登录页面嵌入在iframe中的解决办法
在login页面中添加以下一段代码即可:
var _topWin = window;while (_topWin != _topWin.parent.window) { _topWin = _topWin.parent.window;}if (window != _topWin)_topWin.document.location.href = '${base}/main/login';