From 025c4c6e32a1c06ea604a9f2b67c4b8cbc29ce2c Mon Sep 17 00:00:00 2001 From: 13404089107 <puwei@sinata.cn> Date: 星期二, 20 五月 2025 21:33:05 +0800 Subject: [PATCH] 新增迭代 --- management/src/utils/utils.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/management/src/utils/utils.js b/management/src/utils/utils.js index 20213a5..97e1584 100644 --- a/management/src/utils/utils.js +++ b/management/src/utils/utils.js @@ -57,7 +57,7 @@ ...params, }), headers: { - Authorization: localStorage.getItem('token'), + Authorization:'Bearer ' + localStorage.getItem('token'), 'ConTent-Type': 'application/json;charset=UTF-8', timestamp: new Date().getTime(), client: localStorage.getItem('client') @@ -85,7 +85,7 @@ method: 'get', responseType: 'blob', headers: { - Authorization: localStorage.getItem('token'), + Authorization:'Bearer ' + localStorage.getItem('token'), 'ConTent-Type': 'application/json;charset=UTF-8', timestamp: new Date().getTime(), client: localStorage.getItem('client') -- Gitblit v1.7.1