0
在我的流星項目會話中設置映射函數數組返回CloneNode錯誤!代碼是在這裏會話在流星中設置值時發生克隆節點錯誤
var SubCategory = $(':checkbox[name=SubCategory]:checked').map(function() {
});
console.log(SubCategory);
Session.set("subCategory", SubCategory);
和控制檯輸出這裏
["category1", "category2", prevObject: jQuery.fn.init[2]]
錯誤控制檯:Uncaught TypeError: elem.cloneNode is not a function