0
我目前在使用我的把手模板渲染属性如style =“top:10%”时出现问题。我的模板看起来像这样把手 - 渲染属性
{{#each items}}
<a href="#" class="item" style="left:{{position}}">
</a>
{{/each}}
当我安慰我的模型他们有位置的属性,它被设置为'10%'。但我似乎没有得到任何东西。
相反,我得到
<a href="#" class="item" style="left:">
</a>
任何人有什么想法?