注销登录二次确认

This commit is contained in:
xueli.xue 2016-05-17 17:54:33 +08:00
parent 00465f53c6
commit dfa6d42d80
1 changed files with 10 additions and 8 deletions

View File

@ -17,6 +17,7 @@ $(function(){
// logout
$("#logoutBtn").click(function(){
ComConfirm.show("确认注销登录?", function(){
$.post(base_url + "/logout", function(data, status) {
if (data.code == "200") {
ComAlert.show(1, "注销成功", function(){
@ -27,6 +28,7 @@ $(function(){
}
});
});
});
// adminlte_settings
$('.sidebar-toggle').click(function(){