本地设置缓存后,刷新页面后,缓存value莫名被清空
本地缓存刷新后应该保留
onLoad(){
wx.getStorageSync(‘token’)
}
麻烦提供能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
怎么设置的storage 以及怎么取的 能写个代码片段么?