Commit dfa6d42d by xueli.xue

注销登录二次确认

parent 00465f53
...@@ -17,6 +17,7 @@ $(function(){ ...@@ -17,6 +17,7 @@ $(function(){
// logout // logout
$("#logoutBtn").click(function(){ $("#logoutBtn").click(function(){
ComConfirm.show("确认注销登录?", function(){
$.post(base_url + "/logout", function(data, status) { $.post(base_url + "/logout", function(data, status) {
if (data.code == "200") { if (data.code == "200") {
ComAlert.show(1, "注销成功", function(){ ComAlert.show(1, "注销成功", function(){
...@@ -27,6 +28,7 @@ $(function(){ ...@@ -27,6 +28,7 @@ $(function(){
} }
}); });
}); });
});
// adminlte_settings // adminlte_settings
$('.sidebar-toggle').click(function(){ $('.sidebar-toggle').click(function(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment