模板中使用函数,取得数组后,在用volist循环问题

浏览:756 发布日期:2013/08/06 分类:求助交流
<volist name="{:ch2('attribute','where:attrtype="toutiao"')}" id="sx">
<label>
<input type="checkbox" name="attrtt[]" value="{$sx.attrvalue}" />{$sx.attrname}
</label>
</volist>
直接{:ch2('attribute','where:attrtype="toutiao"')}可以获取数组,但是假如volist循环后就不行了,报错是, xml标签错误
最佳答案
评论() 相关
后面还有条评论,点击查看>>