解决 vue axios 带 header 时,会默认发起 OPTIONS 请求的方法的问题
This commit is contained in:
@@ -18,6 +18,10 @@ if (process.env.NODE_ENV == 'development') {
|
||||
baseUrl = '';
|
||||
}
|
||||
|
||||
baseUrl = 'http://127.0.0.1';
|
||||
dataSources = 'remote';
|
||||
// dataSources = 'local';
|
||||
|
||||
export {
|
||||
baseUrl,
|
||||
routerMode,
|
||||
|
||||
Reference in New Issue
Block a user