登录接口联调完成

This commit is contained in:
2026-08-30 15:24:27 +08:00
parent 68ea2af952
commit 9931de77de
3 changed files with 14 additions and 3 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ request.interceptors.request.use(
// 在请求头中添加token
const token = store.state.token;
if (token) {
config.headers['Authorization'] = `Bearer ${token}`;
config.headers['Authorization'] = `${token}`;
}
return config;
},