更新一下默认到导航的页面

This commit is contained in:
luchenqun 2017-03-19 15:30:58 +08:00
parent 980998c115
commit 3d2320c92c
2 changed files with 2 additions and 6 deletions

View File

@ -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('账号或者密码错误', "错误");

View File

@ -125,9 +125,7 @@ app.controller('settingsCtr', ['$scope', '$stateParams', '$filter', '$state', '$
login: true,
index: 0
});
$state.go('bookmarks', {
showStyle: 'navigate',
})
$state.go('bookmarks', {})
}, 3000);
},