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