wx.setStorageSync
发布于 6 年前 作者 xiuying59 10730 次浏览 来自 问答
  • 当前 Bug 的表现(可附上截图)
  • 预期表现
  • 复现路径

x.setStorageSync(‘user’, e.detail.rawData)

  • 提供一个最简复现 Demo

就这么简单的一行代码,,,,一直报错,时好时坏,,一直显示存储不上,iOS,安卓都报这个错,开发者工具上没有问题

2 回复

[publib]:4 thirdScriptError

APP-SERVICE-SDK:setStorageSync:fail Error: Failed To Send Sync;at pages/authorized/index page onGotUserInfo function

Error: APP-SERVICE-SDK:setStorageSync:fail Error: Failed To Send Sync

    at new t ([publib]:7:22921)

    at Hr ([publib]:8:26590)

    at Object.eo.(anonymous function) [as setStorageSync] ([publib]:8:27956)

    at Object.<anonymous> ([publib]:6:14261)

    at Object.<anonymous> ([publib]:7:9788)

    at Function.<anonymous> ([publib]:15:3426)

    at Object.<anonymous> ([publib]:6:2869)

    at t.onGotUserInfo (weapp:///pages/authorized/index.js:24:8)

    at t.<anonymous> ([publib]:19:20179)

    at t.l ([publib]:19:4464)

报这个错,求大佬

回到顶部