| | |
| | | app.config.globalProperties.addDateRange = addDateRange;
|
| | | app.config.globalProperties.selectDictLabel = selectDictLabel;
|
| | | app.config.globalProperties.selectDictLabels = selectDictLabels;
|
| | | app.config.globalProperties.javaApi = "http://10.136.12.71:8016";
|
| | | app.config.globalProperties.javaApi = "http://10.136.12.71:8022";
|
| | | 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://10.136.12.71:8016"; // 生产环境后端接口
|
| | | ? "http://127.0.0.1:8022" // 开发环境后端接口
|
| | | : "http://10.136.12.71:8022"; // 生产环境后端接口
|
| | |
|
| | | return {
|
| | | // 部署生产环境和开发环境下的URL。
|