From f93dde75fe0d4b93ef3eaf6472f4ff9a3f870b4e Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期一, 07 八月 2023 13:58:13 +0800
Subject: [PATCH] gx

---
 src/utils/axios.ts |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/utils/axios.ts b/src/utils/axios.ts
index 228c332..012fb06 100644
--- a/src/utils/axios.ts
+++ b/src/utils/axios.ts
@@ -1,11 +1,16 @@
 import axios, {AxiosError, AxiosResponse} from 'axios'
 import { Session } from '@/utils/storage'
 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)
 /**
  * 创建axios实例
  */

--
Gitblit v1.8.0