Browse Source

路径的路由也进行跳转

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@1241 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
suntg 10 years ago
parent
commit
c4897f807d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/webapp/resources/js/signin/app.js

+ 1 - 1
src/main/webapp/resources/js/signin/app.js

@@ -23,7 +23,7 @@ define([ 'toaster', 'ui.bootstrap', 'services' ], function() {
 					var url = responseText;
 					if(!url || url == '' || url.indexOf('/signin') > 0)
 						url = './';
-					$window.location.href = _url || url;
+					$window.location.href = (_url || url) + window.location.hash;
 				} else if(status == 207 && responseText instanceof Array) {// multi
 					$scope.loading = false;
 					$modal.open({