From b7d347e75d0aeebca06a4f12c7a2aba155c24b1e Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期一, 31 七月 2023 17:01:38 +0800
Subject: [PATCH] 更新配置文件请求地址
---
src/utils/axios.ts | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/utils/axios.ts b/src/utils/axios.ts
index b80a459..012fb06 100644
--- a/src/utils/axios.ts
+++ b/src/utils/axios.ts
@@ -3,14 +3,14 @@
import { ElMessage } from 'element-plus'
import { confingInfoStore } from '@/stores/StoresConfing'
-// const BASE_URL = 'https://hemobs.icoldchain.cn'
+// let BASE_URL = 'http://testbs.ihemodialysis.com'
let BASE_URL = 'https://hemobs.icoldchain.cn'
const TIME_OUT = 10 * 1000
-setTimeout(()=>{
- console.log('重新赋值api',confingInfoStore().confingInfo)
- BASE_URL=confingInfoStore().confingInfo.base_api
-},10000)
+// setTimeout(()=>{
+// console.log('重新赋值api',confingInfoStore().confingInfo)
+// BASE_URL=confingInfoStore().confingInfo.base_api
+// },10000)
/**
* 创建axios实例
*/
--
Gitblit v1.8.0