| | |
| | | app.config.globalProperties.addDateRange = addDateRange
|
| | | app.config.globalProperties.selectDictLabel = selectDictLabel
|
| | | app.config.globalProperties.selectDictLabels = selectDictLabels
|
| | | app.config.globalProperties.javaApi = 'http://114.132.189.42:7003'
|
| | | app.config.globalProperties.javaApi = 'http://114.132.189.42:1234'
|
| | | app.config.globalProperties.HaveJson = (val) => {
|
| | | return JSON.parse(JSON.stringify(val));
|
| | | };
|
| | |
| | | const { VITE_APP_ENV } = env;
|
| | | const baseUrl =
|
| | | VITE_APP_ENV == "development"
|
| | | ? "http://127.0.0.1:7003" // 开发环境后端接口
|
| | | : "http://114.132.189.42:7003"; // 生产环境后端接口
|
| | | ? "http://114.132.189.42:1234" // 开发环境后端接口
|
| | | : "http://114.132.189.42:1234"; // 生产环境后端接口
|
| | |
|
| | | return {
|
| | | // 部署生产环境和开发环境下的URL。
|