修改登录判断问题
This commit is contained in:
2
.output/server/node_modules/axios/lib/adapters/http.js
generated
vendored
2
.output/server/node_modules/axios/lib/adapters/http.js
generated
vendored
@@ -228,7 +228,7 @@ export default isHttpAdapterSupported && function httpAdapter(config) {
|
||||
}
|
||||
|
||||
// Parse url
|
||||
const fullPath = buildFullPath(config.baseURL, config.url);
|
||||
const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls);
|
||||
const parsed = new URL(fullPath, platform.hasBrowserEnv ? platform.origin : undefined);
|
||||
const protocol = parsed.protocol || supportedProtocols[0];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user