refactor chat

This commit is contained in:
AceDataCloud committed 2023-12-30 15:23:03 +08:00
1 parent 565b367c59
commit cd5dbaa264
20 files changed
+192 -230

No files matched your search

+2 -1
View File
@@ -15,7 +15,8 @@ const httpClient: AxiosInstance = axios.create({
});
httpClient.interceptors.request.use((config) => {
const accessToken = store.state.common.token?.access;
console.log('store', store.state);
const accessToken = store.state.token?.access;
if (!config.headers) {
config.headers = {};
}