layer.confirm 询问框 的层遮盖

layer.confirm 询问框 的层遮盖

layer.confirm 询问框 的层遮盖
function admin_del(obj) {
         layer.confirm('确认要重启吗?', {
            btn : [ '确定', '取消' ]//按钮
        }, function(index) {
            layer.close(index);
            //此处请求后台程序,下方是成功后的前台处理……
            var index = layer.load(0,{shade: [0.7, '#393D49']}, {shadeClose: true}); //0代表加载的风格,支持0-2
            location.href = "HotDeviceManagementServlet?action=restart";
        }); 
    }
    window.onload = admin_del;
layer.confirm 询问框 的层遮盖

关于的 layer.open组件获取弹出层页面变量、函数 的y应用;

博客:等想出来再取 的 http://blog.csdn.net/qq_32588349/article/details/52618450

相关文章:

  • 2022-12-23
  • 2021-07-10
  • 2021-12-10
  • 2021-10-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-03
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-16
  • 2022-02-02
  • 2022-12-23
  • 2021-09-10
  • 2022-01-15
相关资源
相似解决方案