22301021 | 313d1b2 | 2025-06-09 01:13:46 +0800 | [diff] [blame] | 1 | import { Layout } from 'antd'; |
2 | import { Outlet } from 'react-router'; | ||||
3 | |||||
4 | const { Content } = Layout; | ||||
5 | |||||
6 | function UserLayout() { | ||||
7 | return ( | ||||
22301014 | 356527a | 2025-06-09 17:46:56 +0800 | [diff] [blame^] | 8 | |
9 | <Content style={{ margin: '24px 16px 0' }}> | ||||
10 | <div style={{ padding: 24, minHeight: 360 }}> | ||||
11 | <Outlet /> | ||||
12 | </div> | ||||
13 | </Content> | ||||
14 | |||||
22301021 | 313d1b2 | 2025-06-09 01:13:46 +0800 | [diff] [blame] | 15 | ); |
16 | } | ||||
17 | |||||
18 | export default UserLayout; |