完成顶部导航条
> 添加左侧logo
> 添加右侧用户信息展示
> 修复一些登录注册的跳转问题
> 修复axios拦截器错误的头设置
> 修复authApi错误的接口路径
> 组织api文件结构
Change-Id: Ifaec7e9a78ad6862ce7d0ce76be5181185186edd
diff --git a/src/store/store.ts b/src/store/store.ts
index 5f3841e..4921218 100644
--- a/src/store/store.ts
+++ b/src/store/store.ts
@@ -1,8 +1,10 @@
import { configureStore } from '@reduxjs/toolkit'
import authReducer from "../feature/auth/authSlice"
+import userReducer from "../feature/user/userSlice"
export const store = configureStore({
reducer: {
auth: authReducer,
+ user: userReducer,
},
middleware: (getDefaultMiddleware) => getDefaultMiddleware().concat(),
})