From ad6b695460dfcbca10ac010c1104aacd76e93535 Mon Sep 17 00:00:00 2001 From: chenyabin <Chenab123!> Date: 星期三, 31 三月 2021 18:04:43 +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..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