我想将数组传递给这样的视图
this.account_nav = new AccountNav.View({
views: [
{ ref: new Member.Views.AccountNav({ model: this.model }), id: 'viewA' },
{ ref: new Member.Views.SettingsNav({ model: this.model}), id: 'viewB' }
]
});
但是有一个错误:
未捕获的错误:定义了与选择器“”关联的参数和视图。将
manage
Backbone.View 实例的属性设置为 true。骨干.layoutmanager.js:208
指向
this.account_nav = new AccountNav.View({
任何想法为什么我会收到此错误?