mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-13 04:46:46 +08:00
feat:增加api接口文件配置
This commit is contained in:
8
src/api/config.js
Normal file
8
src/api/config.js
Normal file
@@ -0,0 +1,8 @@
|
||||
import axios from "axios";
|
||||
|
||||
const http = axios.create({
|
||||
baseURL: 'http://localhost:8082/api',
|
||||
timeout: 1000 * 100
|
||||
});
|
||||
|
||||
export default http;
|
||||
Reference in New Issue
Block a user