以下是代码:
queryTree = SC.Query.local('Tree.Category',
"categoryId = {categoryId}", {
categoryId: this.get('guid'),
orderBy: "name ASC"
});
queryNote = SC.Query.local('Tree.Note',
"categoryId = {categoryId}", {
categoryId: this.get('guid'),
orderBy: "name ASC"
});
var arrayCategory = Tree.store.find(queryTree);
var arrayNote = Tree.store.find(queryNote);
//Concatenate arrayCategory to arrayNote
我想返回一个新的记录数组,将结果附加到arrayCategory 和arrayNote。我浏览了文档,但似乎没有连接功能。