iDialog中的buttons指定按钮可以隐藏吗?

提问 未结 3 7935
悬赏:20飞吻
$editDialog.iDialog({
title: '编辑舱单/EDIT MANIFEST',
width: 1050,
height: 663,
closed: false,
cache: false,
iconCls: 'fa fa-pencil',
href: "ManifestHold?uManGuid=" + row.uGuid,
modal: true,
buttons: [{
text: '保存/SAVE',
iconCls: 'fa fa-save',
btnCls: 'topjui-btn-green',
handler: function () {
submitManifest($editDialog);
} // 调用下面自定义方法ajaxSubmit()
}, {
text: '提交/SUBMIT',
iconCls: 'fa fa-close',
btnCls: 'topjui-btn-blue',
handler: function () {
submitManifestState($editDialog, row.uGuid);
}
}, {
text: '关闭/CLOSE',
iconCls: 'fa fa-close',
btnCls: 'topjui-btn-red',
visiable:false,
handler: function () {
$editDialog.iDialog('close');
}
}]
});
回帖
回帖须知