参考:https://bbs.csdn.net/topics/220001937 image.png visit()函数式需要自己自定义的 如下面例子:自定义print函数作为参数传入: image.png image.png image.png image.png