seimin 2 years ago
parent
commit
2fe9452b23
1 changed files with 3 additions and 1 deletions
  1. 3 1
      assets/js/config.router.js

+ 3 - 1
assets/js/config.router.js

@@ -35,7 +35,9 @@ app.config(['$authProvider', '$httpProvider', '$stateProvider', '$urlRouterProvi
35 35
                             function ($http,$state) {
36 36
                                 if(resp.status == 444){
37 37
                                     // $state.go('login.signin');
38
-                                    window.location.href = 'http://localhost:8080';
38
+                                    if(window.location.hash !== '#/app/dashboard'){
39
+                                        window.location.href = 'http://localhost:8080';
40
+                                    }
39 41
                                 }
40 42
                             }
41 43
                         ]);