| | |
| | | } from '@ant-design/icons'; |
| | | import { |
| | | PageContainer, |
| | | ProCard, |
| | | ProConfigProvider, |
| | | ProLayout, |
| | | SettingDrawer, |
| | | } from '@ant-design/pro-components'; |
| | | import { |
| | | Button, |
| | | ConfigProvider, |
| | | Dropdown, |
| | | Input, |
| | |
| | | }} |
| | | /> |
| | | } |
| | | placeholder="搜索方案" |
| | | placeholder="请输入" |
| | | bordered={false} |
| | | /> |
| | | </div> |
| | |
| | | }; |
| | | |
| | | export default () => { |
| | | if (typeof document === 'undefined') { |
| | | return <div />; |
| | | } |
| | | |
| | | const [settings, setSetting] = useState({ |
| | | fixSiderbar: true, |
| | | layout: 'mix', |
| | | splitMenus: true, |
| | | }); |
| | | |
| | | const [pathname, setPathname] = useState('/list/sub-page/sub-sub-page1'); |
| | | if (typeof document === 'undefined') { |
| | | return <div />; |
| | | } |
| | | |
| | | return ( |
| | | <div |
| | | id="pro-layout" style={{ height: '100vh', overflow: 'auto' }} |