修改
This commit is contained in:
1 parent
a0155981eb
commit
ed79db43ab
6 files changed
+69
-30
No files matched your search
@@ -113,6 +113,8 @@ const checkAndRefreshToken = async (tokenStorage: any) => {
|
||||
|
||||
// 请求拦截器
|
||||
http.interceptors.request.use(async (config) => {
|
||||
console.log("请求之前")
|
||||
|
||||
const tokenStorage = uni.getStorageSync(TOKEN_KEY)
|
||||
const config_header: any = config?.header || {}
|
||||
|
||||
|
||||
Reference in new issue
Block a user