wx.setStorageSync('isAgree','false')或者 wx.setStorageSync('isAgree',false)都没有用
在login的index拿不到连,wx.getStorageInfoSync()一个key都没有
在小程序初始化时候用wx.setStorageSync 无效?Is it invalid to use wx.setStorageSync when the applet is initialized?
在小程序初始化时候用wx.setStorageSync 无效? wx.setStorageSync('isAgree','false')或者 wx.setStorageSync('isAgree',false)都没有用
在login的index拿不到连,wx.getStorageInfoSync()一个key都没有
wx. Setstoragesync ('isagree ',' false ') or Wx Setstoragesync ('isagree ', false) is not used in the index of login. Wx Getstorageinfosync() has no key
回答:
wx.getStorageSync("isAgree")
丢个可以复现问题的代码片段看看 https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html