From 6f7bbdd390abdcdb2cdaef980bc69816a3ff2202 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期四, 08 五月 2025 17:38:43 +0800
Subject: [PATCH] 添加动态污染溯源相关逻辑(待完成)

---
 src/api/index.js |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/api/index.js b/src/api/index.js
index c0264f8..559cc74 100644
--- a/src/api/index.js
+++ b/src/api/index.js
@@ -1,7 +1,7 @@
 import axios from 'axios';
 import { ElMessage } from 'element-plus';
 
-const debug = false;
+const debug = true;
 
 let ip1 = 'http://47.100.191.150:9029/';
 // console.log(import.meta.env);
@@ -10,12 +10,13 @@
 }
 
 if (debug) {
-  ip1 = 'http://192.168.0.138:8084/';
+  ip1 = 'http://192.168.0.110:8084/';
+  // ip1 = 'http://locahost:8084/';
 }
 
 const $http = axios.create({
   baseURL: ip1,
-  timeout: 20000
+  timeout: 30000
 });
 
 //娣诲姞鎷︽埅鍣�

--
Gitblit v1.9.3