大佬,请问一下 这个@linkTag标签找不到在哪里定义的 我看后端也没把数据放到Model中 怎么前端就可以渲染了呀
<@linkTag method="${(settings.tools_type == 'list')?then('list', 'listByRandom')}">
<article class="joe_detail__article animated fadeIn">
<h5>工具列表<#if omits == ''><@linkTag method="count"><span class="totals">${count!0} 条</span></@linkTag></#if></h5>
<#if settings.tools_type?ends_with('group')>
<@linkTag method="${(settings.tools_type == 'group')?then('listTeams', 'listTeamsByRandom')}">
<#assign flag = 0>
<#list teams as team>
<#if omits?index_of(team.team) == -1>
<div class="links-group">
<h1>${team.team!}</h1>
<@tools_item links=team.links />
</div>
<#else>
<#assign flag++>
</#if>
</#list>
<#if teams?size == 0 || flag == teams?size>
<div class="joe_nodata">${settings.tools_empty_text!}</div>
</#if>
</@linkTag>
<#else>
<@linkTag method="${(settings.tools_type == 'list')?then('list', 'listByRandom')}">
<#assign nextRandom = .now?string["HHmmssSSS"]?number>
<@tools_item links=links />
</@linkTag>
</#if>