JavaScript [Ember.JS] 如何让 store.find ('xxx', id) 始终都向服务端请求

puras · April 03, 2014 · Last by puras replied at April 03, 2014 · 1898 hits

就是想不论本地缓存中是否能通过 store.find('xxx', id) 查到内容。 都向服务端发起请求来获取内容 就跟 store.find('xxx') 一样。

以上! 谢谢!

唔。 在对象已经存在 store 中的情况下 通过 xxx.reload() 可以刷新一下,暂时可用了

You need to Sign in before reply, if you don't have an account, please Sign up first.