//{{include 'test1' $index}}
注意:各个方法传递的数据必须是具有属性的对象,不能是数组
{data:{}} 或者{data:[]}
{{data|ModelFormat :code}}
template.defaults.imports.ModelFormat = function (data, code){
return data;
}
//{{include 'test1' $index}}
注意:各个方法传递的数据必须是具有属性的对象,不能是数组
{data:{}} 或者{data:[]}
{{data|ModelFormat :code}}
template.defaults.imports.ModelFormat = function (data, code){
return data;
}