From aa869225a5f2054cb0253d8f037863aaec866c6e Mon Sep 17 00:00:00 2001 From: wangting <675591594@qq.com> Date: 星期五, 27 九月 2024 09:51:36 +0800 Subject: [PATCH] UI定义页面 --- Source/plt-web/plt-web-ui/src/router/axios.js | 2 +- 1 files changed, 1 insertions(+), 1 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..bfe6a01 100644 --- a/Source/plt-web/plt-web-ui/src/router/axios.js +++ b/Source/plt-web/plt-web-ui/src/router/axios.js @@ -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