From 5bd3c6fc05b2548195ebe78bc4cec04886b51ca2 Mon Sep 17 00:00:00 2001
From: wangqi <magical1908@outlook.com>
Date: 星期五, 02 四月 2021 14:22:03 +0800
Subject: [PATCH] Merge branch 'develop' of http://xearth.cn:6600/r/wuyushui/SewerAndRainNetwork into develop

---
 src/utils/axios.js |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/utils/axios.js b/src/utils/axios.js
index b28575e..8324abe 100644
--- a/src/utils/axios.js
+++ b/src/utils/axios.js
@@ -83,7 +83,7 @@
 
 // 鍒涘缓axios瀹炰緥
 const Service = axios.create({
-  timeout: 1000
+  timeout: 5000
 })
 
 const CancelToken = axios.CancelToken
@@ -117,10 +117,10 @@
 // request鎷︽埅鍣�
 Service.interceptors.request.use(
   config => {
-  // 涓存椂杩藉姞
-  //   if ($store.state.user.account) {
-  //     config.headers.account = $store.state.user.account
-  //   }
+    // 涓存椂杩藉姞
+    //   if ($store.state.user.account) {
+    //     config.headers.account = $store.state.user.account
+    //   }
     const copyConfig = Object.assign({}, config)
     // copyConfig = filterOauthData(copyConfig)
     // showDebugInfo(copyConfig)

--
Gitblit v1.8.0