File tree Expand file tree Collapse file tree 5 files changed +375
-12
lines changed Expand file tree Collapse file tree 5 files changed +375
-12
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " cra-react18 " : minor
3+ ---
4+
5+ feat: cra-react18项目增加在线交流功能
Original file line number Diff line number Diff line change 11REACT_APP_BASE_API = /api
2+ REACT_APP_SOCKET_SERVER = http://localhost:8002
Original file line number Diff line number Diff line change @@ -171,18 +171,6 @@ const BaseMenu: React.FC<BaseMenuProps> = ({ open }) => {
171171 留言
172172 </ NavLink >
173173 </ li >
174- < li className = "menu__item" >
175- < a href = "https://chat.wbjiang.cn" target = "_blank" rel = "nofollow noreferrer" >
176- < IconSvg icon = "chat" />
177- 随心聊Chat
178- </ a >
179- </ li >
180- < li className = "menu__item" >
181- < NavLink to = "/chatgpt" >
182- < IconSvg icon = "chat" />
183- ChatGPT体验
184- </ NavLink >
185- </ li >
186174 < li className = "menu__item" >
187175 < NavLink to = "/chat" >
188176 < IconSvg icon = "chat" />
Original file line number Diff line number Diff line change @@ -41,6 +41,10 @@ const router = createBrowserRouter([
4141 path : "/login" ,
4242 lazy : ( ) => import ( "../views/Login" ) ,
4343 } ,
44+ {
45+ path : "/chat" ,
46+ lazy : ( ) => import ( "../views/Chat" ) ,
47+ } ,
4448] ) ;
4549
4650export default router ;
You can’t perform that action at this time.
0 commit comments