uni.setStorageSync('token', that.token); // 将登录信息以token的方式存在硬盘中
uni.setStorageSync('userInfo', JSON.stringify(res.data.data[0])); // 将用户信息存储在硬盘中
uni.setStorageSync('wxopenid', that.wxopenid); // 将用户信息存储在硬盘中
var zhxxlist = JSON.parse(uni.getStorageSync('userInfo'))
【无标题】
最新推荐文章于 2024-05-19 14:50:35 发布