[微信小程序]Error: APP-SERVICE-SDK:setStorageSync:fa [我不会说英语的啦,你还是说中文吧。]

- 当前 Bug 的表现(可附上截图)

真机调试 报错


[publib]:1 thirdScriptError

APP-SERVICE-SDK:setStorageSync:fail Error: Failed To Send Sync;at pages/login/login page doLogin function

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

    at setStorageSync ([publib]:1:494345)

    at r.(anonymous function) ([publib]:1:495730)

    at Object.Bd.(anonymous function) [as setStorageSync] ([publib]:1:496330)

    at Object.<anonymous> ([publib]:1:323255)

    at Object.<anonymous> ([publib]:1:712488)

    at Function.<anonymous> ([publib]:1:712584)

    at Object.<anonymous> ([publib]:1:281976)

    at s.doLogin (weapp:///pages/login/login.js:103:8)

    at s.<anonymous> ([publib]:1:937239)

    at s.R ([publib]:1:932618)

- 预期表现

存储数据

- 复现路径


- 提供一个最简复现 Demo

 wx.setStorageSync('phone', objData.phone);

    wx.setStorageSync('password', objData.password);


  • 尝试一下重启电脑操作系统(macOS)呢?, 到底台式和笔记本哪个好啊?
  • 是只有真机调试报这个错吗?麻烦提供能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html), QQ那玩意就像泡女朋友,等星星,等月亮,然后就有太阳了
    • https://developers.weixin.qq.com/s/snmpjrmH7I6n, 玩qq的都是年轻人。
    • 重启一下电脑试试呢, 为啥要重启啊?