| | |
| | | # 本地环境 |
| | | VITE_ENV=development |
| | | |
| | | VITE_API_BASE_URL=https://testbs.ihemodialysis.com |
| | | VITE_API_BASE_URL=https://testbs.ihemodialysis.com/ |
| | | |
| | | VITE_SSE_BASE_URL=http://testbs.ihemodialysis.com/sse/sseEvent/ |
| | |
| | | # 生产环境 |
| | | VITE_ENV=production |
| | | |
| | | VITE_API_BASE_URL=https://backend.ihemodialysis.com |
| | | VITE_API_BASE_URL=https://backend.ihemodialysis.com/ |
| | | |
| | | VITE_SSE_BASE_URL=https://backend.ihemodialysis.com/sse/sseEvent/ |
| | |
| | | // http://testbs.ihemodialysis.com/sse/sseEvent |
| | | // const test='http://testbs.ihemodialysis.com/sse/sseEvent/' |
| | | 数据初始化.value = true; |
| | | const test = "https://backend.ihemodialysis.com/sse/sseEvent/"; |
| | | const test = import.meta.env.VITE_API_BASE_URL; |
| | | const stateArr = [ |
| | | { key: 0, value: "正在链接中" }, |
| | | { key: 1, value: "已经链接并且可以通讯" }, |