81,094
社区成员
发帖
与我相关
我的任务
分享
{
text: '删除', handler: function () {
if (node.hasChildNodes()) {//有子节点,无法删除
Ext.example.msg('提示', "该组织下有子组织,无法删除");
} else {
Ext.MessageBox.confirm("请选择", "您确定要删除[" + node.data.text + "]吗?", function (e, text) {
if (e == "yes") { }
})
}
}
}