修改路由重定向
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -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) { | ... | ... |
-
Please register or sign in to post a comment