通过给树设定filter方法属性,再调用方法doFilter进行数据过滤