```
toChat: function ({ currentTarget }) {
const { userid: otherUserID } = currentTarget.dataset;
const { postId, viewerId } = this.data;
this._createConversation(otherUserID, postId);
if (!this.data.isChatted) {
wx.getStorage({
key: `${postId}_viewer`,
success: res => {
wx.setStorage({
key: `${this.data.postId}_viewer`,
data: {
…res.data,
[viewerId]: true,
},
success: () => {
setTimeout(() => {
this.setData({
isChatted: true,
});
}, 1500);
},
fail: e => {
throw new Error(e);
},
});
},
fail: e => {
throw new Error(e);
},
});
}
},
```
我们在一台iphone x max 上得到这个报错,在其他人的手机上正常,请问可能是什么问题,该如何解决