PATCH request method in Backbone.js

后端 未结 3 1225
星月不相逢
星月不相逢 2021-02-07 04:34

What is the right way to perform PATCH request while saving model\'s attributes in Backbone.js?

3条回答
  •  长情又很酷
    2021-02-07 05:00

    As of Backbone.js v0.9.9, you can simply pass { patch: true } to save().

    Read more: http://backbonejs.org/#changelog

提交回复
热议问题