#macro templateTree field filepath=''>
<@_taskTemplateList path=filepath>
<#list list as a>
<#local path=filepath+'/'+a.fileName/>
<#if a.directory>
${a.fileName}
<@templateTree field type path/>
<#else>
${a.fileName}
#if>
<#else>
空目录
#list>
@_taskTemplateList>
#macro>
<@templateTree field type/>