/// <summary> /// 有参构造函数 /// </summary> public JsTreeTable(string id, string text, string icon = null, string parent = "#") { this.m_Gid = id; this.m_Text = text; this.m_Icon = icon; this.Pgid = parent; this.JsTreeDataStatus = new JsTreeStatus(); }
/// <summary> /// 无参构造函数 /// </summary> public JsTreeTable() { this.Pgid = "#"; //#表示为根节点 this.JsTreeDataStatus = new JsTreeStatus(); }