seimin 2 年之前
父節點
當前提交
2fe9452b23
共有 1 個文件被更改,包括 3 次插入1 次删除
  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
                         ]);