Commit 1b868f9d by guanzhenshan

优化用户登录过期后的用户体验,自动跳转到登录页面

parent 60808f16
...@@ -230,7 +230,7 @@ $.submit = function (data) { ...@@ -230,7 +230,7 @@ $.submit = function (data) {
} }
}, },
success: function (result) { success: function (result) {
if (data != undefined && data.statusCode == '401') { if (result != undefined && result.statusCode == '401') {
parent.window.location = parent.window.location; parent.window.location = parent.window.location;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment