楼主,请问问题解决了吗,是如何解决的呀
setStorageSync设置不进去值- 当前 Bug 的表现(可附上截图) - 预期表现 - 复现路径 - 提供一个最简复现 Demo 基础库:2.4.2 微信版本:6.7.3 开发工具真机调试和真机(华为Nova)storage存储不进去。开发工具可以storage存储。 [图片] [图片] [图片] 测试log如下: [publib]:1 App: onLaunch have been invoked [publib]:1 App: onShow have been invoked [publib]:1 Register Page: pages/main [publib]:1 Register Page: pages/home/main [publib]:1 Register Page: pages/meeting/main [publib]:1 Register Page: pages/register/main [publib]:1 Register Page: pages/user/main [publib]:1 Register Page: pages/user/management/main [publib]:1 Register Page: pages/detail/main [publib]:1 Register Page: pages/index/main [publib]:1 On app route: pages/main [publib]:1 Update view with init data [publib]:1 pages/main: onLoad have been invoked [publib]:1 pages/main: onShow have been invoked [publib]:1 Invoke event onReady in page: pages/main [publib]:1 pages/main: onReady have been invoked [publib]:1 Invoke event handleProxy in page: pages/main [publib]:1 On app route: pages/home/main [publib]:1 pages/main: onUnload have been invoked [publib]:1 Update view with init data [publib]:1 pages/home/main: onLoad have been invoked [publib]:1 pages/home/main: onShow have been invoked [publib]:1 Invoke event onReady in page: pages/home/main [publib]:1 pages/home/main: onReady have been invoked [publib]:1 On app route: pages/user/main [publib]:1 pages/home/main: onHide have been invoked [publib]:1 Update view with init data [publib]:1 pages/user/main: onLoad have been invoked [publib]:1 pages/user/main: onShow have been invoked main.js? [sm]:3 userInfo ? true : falsefalse {__ob__: ct}//我打印的 拿不到userInfo [publib]:1 Invoke event onTabItemTap in page: pages/user/main [publib]:1 Invoke event onReady in page: pages/user/main [publib]:1 pages/user/main: onReady have been invoked [publib]:1 pages/user/main: onHide have been invoked [publib]:1 App: onHide have been invoked
2018-12-11