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