js构造对象


 function ZtreeNode(id, pId, name) {//定义ztree的节点类
    this.id = id;
    this.pId = pId;
    this.name = name;
}    
var childZNode = new ZtreeNode(100,parentOrgId, '子节点0'); //构造子节点

猜你喜欢

转载自blog.csdn.net/ozhy111/article/details/89785208