{{each inpoints as value i}}...{{/each}}使用方法

{{each impoints value i}}

        {{ if 'wuye.system_log' == value }}

                <td>{{ $value.vote_option_name }}</td>

        {{ /if }}

{{/each}}

imoints是循环的数组,value是数组中的每一个数据

参考文章:

https://bbs.csdn.net/topics/390970955?locationNum=4&fps=1

posted @ 2019-11-07 15:29  星宝攸宁  阅读(1357)  评论(0)    收藏  举报