Compare commits
5 Commits
Author | SHA1 | Date |
---|---|---|
|
7e5c40970c | |
|
46218a0939 | |
|
921392727c | |
|
5627f147e3 | |
|
8901c549aa |
|
@ -2,7 +2,7 @@ NODE_ENV = staging
|
|||
VITE_NAME='预览环境'
|
||||
|
||||
# 系统管理服务API
|
||||
VITE_API_URL_SYS='https://106.52.199.114:8000'
|
||||
VITE_API_URL_SYS='https://106.52.199.114:8001'
|
||||
# 健康辅助监测服务API
|
||||
VITE_API_URL_JKFZJC='https://106.52.199.114:8003'
|
||||
# 整个系统入口首页
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
"version": "0.0.0",
|
||||
"scripts": {
|
||||
"dev": "vite --mode development",
|
||||
"dev:stage": "vite --mode staging",
|
||||
"build": "vite build --mode production",
|
||||
"test": "vite build --mode test",
|
||||
"staging": "vite build --mode staging",
|
||||
|
|
|
@ -2,8 +2,7 @@ import axios from "axios";
|
|||
import { showMessage } from '@/common/message'
|
||||
import { ElMessageBox } from 'element-plus';
|
||||
|
||||
const baseURL = import.meta.env.MODE === 'development' ? '' : import.meta.env.VITE_API_URL_SYS;
|
||||
// const baseURL = import.meta.env.MODE === 'staging' ? '' : import.meta.env.VITE_API_URL_SYS;
|
||||
const baseURL = import.meta.env.MODE === 'development' ? '' : import.meta.env.VITE_API_URL_JKFZJC;
|
||||
|
||||
const service = axios.create({
|
||||
baseURL: baseURL,
|
||||
|
|
Loading…
Reference in New Issue