增加信息
This commit is contained in:
@@ -127,7 +127,8 @@ export const errorConfig: RequestConfig = {
|
||||
// 拦截请求配置,进行个性化处理。
|
||||
const Authorization = localStorage.getItem('token') || ''
|
||||
const headers = { Authorization };
|
||||
config.url.includes('https://');
|
||||
// let url = config.url;
|
||||
// const url = config?.url;
|
||||
let url = `https://iadminapi.zhongshuai2023.com` + config.url;
|
||||
if (config.url.includes('https://')) {
|
||||
url = config.url;
|
||||
|
||||
Reference in New Issue
Block a user