Javascript Ember.js使用fixture显示许多关系数据
我正在尝试使用fixture显示来自hasMany关系的数据。我的代码可以在这里找到:Javascript Ember.js使用fixture显示许多关系数据,javascript,ember.js,ember-data,Javascript,Ember.js,Ember Data,我正在尝试使用fixture显示来自hasMany关系的数据。我的代码可以在这里找到: {{title}} {{description}} {{{#model.comments中的每个注释} {{comment.content} {{/每个}} 但它似乎没有显示数据。有什么想法吗?我在这里找到了一个相关的讨论:我添加了aync:true选项,它现在可以工作了 comments: DS.hasMany('comment', { async: true }) comments: DS.ha
{{title}}
{{description}}
{{{#model.comments中的每个注释}
{{comment.content}
{{/每个}}
但它似乎没有显示数据。有什么想法吗?我在这里找到了一个相关的讨论:我添加了aync:true选项,它现在可以工作了
comments: DS.hasMany('comment', {
async: true
})
comments: DS.hasMany('comment', {
async: true
})