| | |
| | | import { ElMessage } from 'element-plus' |
| | | import { confingInfoStore } from '@/stores/StoresConfing' |
| | | |
| | | let BASE_URL = 'http://testbs.ihemodialysis.com' |
| | | // let 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实例 |
| | | */ |