wx.setStorageSync bug
token=‘eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiI0OTRiNzY2Yi0wZThjLTRjYzMtOWZmZC1hZWI5YzQ1ZjE2ZTgiLCJpYXQiOjE1MTM1Njk4NzguMTI1NzgxMX0.YHqWMwQkHHDqsG-8WeMLkX-oeg3tidxxhAuGFS96GVU’
wx.setStorageSync({
key: “Access_token”,
data: token
})
setStorage:fail parameter error: parameter should be String instead of Object;