Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Backbone.Collection.remove 从前端的集合中删除模型。有没有办法让更改持续到后端?IE。我想对集合的 URL 执行 DELETE 请求并传入模型。我该怎么做?
model.destroy();将从集合中删除模型DELETE并向服务器发出请求。
model.destroy();
DELETE
http://backbonejs.org/#Model-destroy