this.getRootNode().expand(false);//树节点默认展开或者默认收缩(true 展开 false 收缩)