uncomment code
This commit is contained in:
父節點
4e16edf4ba
當前提交
f02300ed2b
@ -163,7 +163,7 @@ app.run(['$rootScope', '$state', 'Auth', '$location', function($rootScope, $stat
|
|||||||
};
|
};
|
||||||
$rootScope.$on('$stateChangeStart', function(event, toState, toParams, fromState, fromParams) {
|
$rootScope.$on('$stateChangeStart', function(event, toState, toParams, fromState, fromParams) {
|
||||||
var requiresLogin = toState.data.requiresLogin;
|
var requiresLogin = toState.data.requiresLogin;
|
||||||
// toState.data.session = $location.search();
|
toState.data.session = $location.search();
|
||||||
$rootScope.redirectedURL = toState.url;
|
$rootScope.redirectedURL = toState.url;
|
||||||
var query = $location.search();
|
var query = $location.search();
|
||||||
$rootScope.urlArray.push($rootScope.redirectedURL);
|
$rootScope.urlArray.push($rootScope.redirectedURL);
|
||||||
|
載入中…
x
新增問題並參考
Block a user