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.
我从服务器获取数据并希望在订阅者收到模型更改通知之前使用 I18n 字符串更改一些字符串。有没有办法添加一个在获取数据后总是首先调用的成功方法?
好的,我自己找到的。
Model.parse
http://backbonejs.org/docs/backbone.html#section-65