This commit is contained in:
ylj20011123 2025-10-21 14:20:07 +08:00
parent 6bcf31b085
commit e049aaaf45
2 changed files with 8 additions and 4 deletions

View File

@ -51,12 +51,12 @@ watch(
handleGetMapRealData()
},
{ deep: true }
);
);
//
const handleGetMapRealData = async () => {
const req: any = {
serverPartId: props.currentService?.SERVERPART_ID || ""
serverPartId: props.currentService?.SERVERPART_ID || ""
}
let CoreBusinessData = sessionStorage.getItem('CoreBusinessData')
@ -64,7 +64,7 @@ const handleGetMapRealData = async () => {
if (CoreBusinessData) {
data = JSON.parse(CoreBusinessData)
} else {
data = await handleGetRealData(req)
data = await handleGetRealData(req)
sessionStorage.setItem("CoreBusinessData", JSON.stringify(data))
}

View File

@ -41,7 +41,11 @@ const errorHandler = (error: any): any => {
// 创建 axios 实例
const instance = axios.create({
baseURL: 'https://admin.es.eshangtech.com/platform/', // 默认请求前缀
baseURL: 'https://java.es.eshangtech.com:443/', // 默认请求前缀
// baseURL: 'http://111.229.213.193:18071/', // 默认请求前缀
// baseURL: 'https://admin.es.eshangtech.com/platform/', // 默认请求前缀
// baseURL: 'http://10.104.1.161:8070/platform/', // 默认请求前缀
timeout: 60000, // 请求超时时间
headers: {