From 703455ff2bcb62b762e818c20986f178fe79bc24 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期四, 31 十月 2024 17:26:58 +0800 Subject: [PATCH] 整合代码&&完善业务类型查询模板bug&&添加菜单动态选择icon图标&&添加font图标库 --- Source/plt-web/plt-web-ui/src/router/axios.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/router/axios.js b/Source/plt-web/plt-web-ui/src/router/axios.js index 64b38fe..7029b39 100644 --- a/Source/plt-web/plt-web-ui/src/router/axios.js +++ b/Source/plt-web/plt-web-ui/src/router/axios.js @@ -17,7 +17,7 @@ import 'nprogress/nprogress.css'; //榛樿瓒呮椂鏃堕棿 -axios.defaults.timeout = 10000; +axios.defaults.timeout = 30000; //杩斿洖鍏朵粬鐘舵�佺爜 axios.defaults.validateStatus = function (status) { return status >= 200 && status <= 500; @@ -41,7 +41,7 @@ const meta = (config.meta || {}); const isToken = meta.isToken === false; if (getToken() && !isToken) { - config.headers[website.tokenHeader] = 'bearer ' + getToken() + config.headers[website.tokenHeader] = getToken() } //headers涓厤缃畉ext璇锋眰 if (config.text === true) { -- Gitblit v1.9.3