让jquery.tmpl支持序号${index}

参考

http://blog.csdn.net/wangji5850/article/details/50913121

压缩的查找第一个map,添加

jQuery.map( h, function( a, index ) { if(a){a.$index = index;}

posted @ 2018-01-12 16:35  wujf  阅读(538)  评论(0)    收藏  举报