From d7c50f6207f0f27f4c20aa96f75b7c0b610b2b23 Mon Sep 17 00:00:00 2001
From: 陈泽平 <chenzeping>
Date: 星期四, 20 五月 2021 11:06:54 +0800
Subject: [PATCH] 管线弹框分析修改

---
 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..47300fe 100644
--- a/src/utils/axios.js
+++ b/src/utils/axios.js
@@ -83,7 +83,7 @@
 
 // 鍒涘缓axios瀹炰緥
 const Service = axios.create({
-  timeout: 1000
+  timeout: 1000 * 30
 })
 
 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