迭代处理Tree