摘要: 1 创建一个文件名为config.js const baseurl = 'http://xxx:9090/'; //公共接口请求地址export default baseurl; 2 在登录接口返回数据的那步,将token存进缓存中 // 存储token uni.setStorage({ key: 阅读全文
posted @ 2020-07-22 15:42 小夜猫啊 阅读(7081) 评论(0) 推荐(0) 编辑