uni-app小程序微信一键登录实现过程记录
摘要:话不多是,直接上代码(我里面按钮用到了vant的组件): <template> <view style="height: 100vh;display: flex;flex-direction: column;align-items: center;justify-content: center;bo
阅读全文
posted @
2021-12-25 17:26
-coco
阅读(3568)
推荐(0)
uni-app小程序request请求封装
摘要:一、在request目录下新建index.js const config = require('./api.js'); // 请求的base URL const getTokenHandle = () => { return uni.getStorageSync('token') // 获取登录用户
阅读全文
posted @
2021-12-25 15:24
-coco
阅读(1315)
推荐(0)