数据处理
This commit is contained in:
@@ -21,7 +21,7 @@ const requestHooks = {
|
||||
if (baseUrl) {
|
||||
options.url = `${baseUrl}${options.url}`;
|
||||
}
|
||||
const token = getToken(); console.log("token=>",token)
|
||||
const token = getToken(); //console.log("token=>",token)
|
||||
if (withToken && !options.header.token) {
|
||||
options.header.token = token;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user