1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
| const apiConfig = {
| // 开发环境
| development: {
| baseURL: "http://192.168.110.64:8081",
| imgUrl: "http://192.168.110.64:8081/open/file/upload",
| showImgUrl:'http://192.168.110.64:9998/'
| },
| // 生产环境
| production: {
| baseURL: "",
| imgUrl: "",
| },
| };
|
| export default apiConfig[process.env.VUE_APP_ENV];
|
|