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