最新回答 / Alice_hhu
说错莫怪哈~会不会是把渲染模块的那段代码写在template前面了?以至于获取不到template。要么就把template写在渲染模块的那段代码之前,像下面这样2个script标签的顺序。要么把渲染模块的那段代码用$(function({}))包起来。<script id="template1" type="text/x-handlebars-template"> <div>...<div></script><script> var...
2018-01-15
最新回答 / link2fun
https://gitee.com/EThunder/learning_2017/tree/master/1202_Handlebars 自己练习的,可以参照下
2017-11-03