2
錯誤我在客戶端的代碼MeteorJS:在Meteor.call
Template['product'].events
'click .addcart': (event, template) ->
event.preventDefault()
add_this = {"item": 1, "name": "test", "qty": 5, "price": 124}
Meteor.call "Carts.push", add_this
return
和服務器
Meteor.methods
'Carts.push': (params) ->
console.log params
每次E單擊按鈕添加購物車我在服務器端錯誤
Exception while invoking method 'Carts.push' Error: Did not check() all arguments during call to 'Carts.push'
任何想法爲什麼這個錯誤仍然存在?