您的位置:首页 > 产品设计 > UI/UE

easyui dialog 关闭按钮怎么去掉

2016-06-24 13:41 351 查看

easyui dialog 关闭按钮怎么去掉


不知道你说的是不是右上角关闭按钮,如果是的话,可以这样取消

取消右上角的按钮使用
closable: false

案例如下
$("#box").dialog({
closable: false,
width: 400,
height: 250,
title: '用户详情',
modal: true,
buttons: [{
text: '关闭',
iconCls: 'icon-cancel',
handler: function () {
$('#details').dialog('close');
}
}],
});
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  easyui easyui对话框