【发布时间】:2015-03-27 05:59:16
【问题描述】:
本地存储中缓存的 Parse 用户对象仅在登录或注册时更新。我想在我的应用加载时刷新它,以确保所有修改都是同步的。我该怎么做?
根据this thread from the Parse.com forums archive,应该有一个方法Parse.User.current().refresh() 可以做到这一点,但在最新版本的JS SDK 中,该方法似乎不存在。
谢谢!任何帮助表示赞赏!
【问题讨论】:
-
试试fetch