在流星中使用@index #each迭代器不起作用 [英] Using @index in meteor #each iterator doesn't work

查看:81
本文介绍了在流星中使用@index #each迭代器不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为什么不在流星中工作? https://github.com/wycats/handlebars.js/issues/250

解决方案

它尚未在meteor的车把版本中实现;对于 @index 正确渲染的反应性有一个微妙之处。你可以在这里阅读更多关于它的信息: https://github.com/meteor/meteor/issues/489# issuecomment-11270564


why doesn't this work in meteor? https://github.com/wycats/handlebars.js/issues/250

解决方案

It's not yet implemented in meteor's version of handlebars; there's a subtlety about the reactivity of @index rendering properly. You can read more about it here: https://github.com/meteor/meteor/issues/489#issuecomment-11270564

这篇关于在流星中使用@index #each迭代器不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆