更新一下默认到导航的页面
This commit is contained in:
parent
980998c115
commit
3d2320c92c
|
|
@ -38,9 +38,7 @@ app.controller('loginCtr', ['$scope', '$filter', '$state', '$cookieStore', 'book
|
|||
pubSubService.publish('loginCtr.login', {
|
||||
'login': data.logined,
|
||||
});
|
||||
$state.go('bookmarks', {
|
||||
showStyle: 'navigate',
|
||||
})
|
||||
$state.go('bookmarks', {})
|
||||
} else {
|
||||
console.log('login failed......................')
|
||||
toastr.error('账号或者密码错误', "错误");
|
||||
|
|
|
|||
|
|
@ -125,9 +125,7 @@ app.controller('settingsCtr', ['$scope', '$stateParams', '$filter', '$state', '$
|
|||
login: true,
|
||||
index: 0
|
||||
});
|
||||
$state.go('bookmarks', {
|
||||
showStyle: 'navigate',
|
||||
})
|
||||
$state.go('bookmarks', {})
|
||||
}, 3000);
|
||||
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue