缓存Storage的存入 调用 //第一个参数是存入缓存的名称,第二个参数是存入缓存的值 wx.setStorageSync('user',res.data) //本句的意思就是把res.data里的值存到缓存名为user的值中 缓存Storage的取出 调用 //相当于把user中缓存的值取到u变量中 let u = wx.getStorageSync('user'); 缓存Storage的移除 调用 //在缓存中移除user wx.removeStorage({ key: 'user', })