我只是疯了,为什么这不起作用。我有一个获取数据的集合。该集合在重置时绑定到运行渲染功能。但渲染并不称为。
this.uploadTemplate = _.template(UploadTemplate);
this.artistCollection = new ArtistCollections();
this.artistCollection.bind('reset', this.render, this);
this.artistCollection.fetch({success: function(){console.log('jsjbajsb');},
error: function(collection, response, options){ console.log(response)}});
// this.artistCollection.fetch({reset: true});
this.me = options.me;
既没有调用成功函数也没有注释行工作
答案 0 :(得分:0)
所以,我没有发送正确的Json-field响应。很多感谢@mu太短了。
我希望骨干在这种情况下会提供冗长的错误。