提交用户管理

This commit is contained in:
2024-01-17 08:01:57 +08:00
parent 935c276a88
commit 59cc92eff5

View File

@ -22,12 +22,8 @@ axios.interceptors.request.use(
// Authorization is a custom headers key
// please modify it according to the actual situation
const userStore = useUserStore();
// console.log('config', config);
// if (config.url === '/api/erst/user/me') {
// userStore.headerName = 'zsc';
// userStore.tokenDate = '123';
config.headers['X-CSRF-TOKEN'] = userStore.tokenDate;
// }
const token = getToken();
if (token) {