关于nodejs遇到的一些坑

1.foreach里不能执行异步操做,for循环能够异步 2.用handlebar模板动态渲染数据时渲染数据是 页面填充数据必定要在每个调用数据的 {{}}的前面加\!!! 例如<script id="templateArea" type="text/x-handlebars-template">     \{{#each area}}     <tr>         <td οnclick="
相关文章
相关标签/搜索