加个提示

This commit is contained in:
luchenqun 2017-03-05 20:23:08 +08:00
parent 322a8733b6
commit 9573599609
1 changed files with 16 additions and 14 deletions

View File

@ -10,6 +10,7 @@ app.controller('homeCtr', ['$scope', '$stateParams', '$filter', '$state', '$wind
$state.go('bookmarks', {
showStyle: 'navigate',
})
toastr.success('自动登陆成功,系统将自动跳转到主页', "提示");
} else {
console.log('autoLogin failed......................')
pubSubService.publish('Common.menuActive', {
@ -23,6 +24,7 @@ app.controller('homeCtr', ['$scope', '$stateParams', '$filter', '$state', '$wind
console.log('autoLogin err', err)
});
$('.js-segment-home').transition('hide');
function transition() {
var data = ['scale', 'fade', 'fade up', 'fade down', 'fade left', 'fade right', 'horizontal flip',
'vertical flip', 'drop', 'fly left', 'fly right', 'fly up', 'fly down', 'swing left', 'swing right', 'swing up',