大家好,又见面了,我是你们的朋友全栈君。
遍历数组,获取当前的元素
<script type="text/x-jsrender" id="template-sensor"> { { for obj}} <label>{ {:#data}}</label> { { /for}} </script>
$("#tbody-waring").append($("#template-waring").render(response));
转载于:https://www.cnblogs.com/guxingy/p/9364109.html
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/107404.html原文链接:https://javaforall.net