From ba7065fdcf6fe48d002908a1a7666a480e805021 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期三, 05 十一月 2025 17:35:30 +0800
Subject: [PATCH] Merge branch 'master' of ssh://114.215.109.124:29418/underway-vue

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

diff --git a/src/api/index.js b/src/api/index.js
index edabfb4..c2adcb9 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 openLog = false;
+const openLog = true;
 const debug = false;
 
 let ip1 = 'http://47.100.191.150:9029/';
@@ -13,15 +13,16 @@
 }
 
 if (debug) {
-  ip1 = 'http://192.168.0.103:8084/';
-  // ip1 = 'http://localhost:8084/';
-  ws = `192.168.0.103:9031`;
-  // ws = `localhost:9031`;
+  // ip1 = 'http://192.168.0.103:8084/';
+  ip1 = 'http://localhost:8084/';
+  // ws = `192.168.0.103:9031`;
+  ws = `localhost:9031`;
 }
 
 const $http = axios.create({
   baseURL: ip1,
-  timeout: 30000
+  // timeout: 30000,
+  timeout: 0
 });
 
 //娣诲姞鎷︽埅鍣�

--
Gitblit v1.9.3