77baf369 by ex

修改路由重定向

1 parent 00c2624c
...@@ -26,7 +26,7 @@ angular.module('myApp') ...@@ -26,7 +26,7 @@ angular.module('myApp')
26 time:1 26 time:1
27 }); 27 });
28 setTimeout(function() { 28 setTimeout(function() {
29 window.href = window.location.origin + window.location.pathname 29 window.location.href = window.location.origin + window.location.pathname
30 location.reload(); 30 location.reload();
31 } , 300); 31 } , 300);
32 } else if (data.meta.code == 401) { 32 } else if (data.meta.code == 401) {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!