framework7-cn

Open full view…

each 中无法嵌套js_compare吗?

wwwliaole
Thu, 08 Dec 2016 06:06:52 GMT

如这样子的语句,就会报错。{{#each photos}} <img src="{{small}}" big-src="{{big}}"> {{#js_compare "this.photos.length === 4"}}<br>{{@index}}{{/js_compare}} {{/each}}