Skip to content

Commit

Permalink
fix: 调整文档
Browse files Browse the repository at this point in the history
  • Loading branch information
yaob421123 committed Apr 19, 2023
1 parent aaa6e52 commit 1ece941
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 17 deletions.
2 changes: 1 addition & 1 deletion examples/base/src/layouts/BasicLayout.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Badge, Icon } from 'uiw'
import useSWR from 'swr'
import AuthPage from '@uiw-admin/authorized'
import { KktproPageProps, Outlet } from '@kkt/pro'
import { KktproPageProps } from '@kkt/pro'
import BasicLayout, {
useLayouts,
BasicLayoutProps,
Expand Down
4 changes: 2 additions & 2 deletions examples/website/config/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ const routeList = [
},
],
},
{ path: '*', element: '@uiw-admin/exceptions/lib/Exceptions/404' },
{ path: '*', element: '@uiw-admin/exceptions/esm/Exceptions/404' },
],
},
{ path: '*', element: '@uiw-admin/exceptions/lib/Exceptions/404' },
{ path: '*', element: '@uiw-admin/exceptions/esm/Exceptions/404' },
];

export default routeList;
2 changes: 1 addition & 1 deletion examples/website/src/components/Layouts/Menu/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export const Wrapper = styled.div`
position: fixed;
top: 0;
z-index: 2;
width: 210px;
width: 240px;
height: 100%;
padding-top: 58px;
`;
Expand Down
2 changes: 1 addition & 1 deletion examples/website/src/components/Layouts/index/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default function Layout(props: KktproPageProps) {
<Main>
<Body>
<Menu />
<div style={{ paddingLeft: 210, paddingTop: 58, height: '100%' }}>
<div style={{ paddingLeft: 240, paddingTop: 58, height: '100%' }}>
<Outlet />
</div>
</Body>
Expand Down
22 changes: 11 additions & 11 deletions examples/website/src/menus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,39 +82,39 @@ export const menusComponentsConfig: MenusConfigObject[] = [
title: '架构',
},
{
title: 'Authorized',
title: 'Authorized 权限组件',
path: '/components/authorized',
},
{
title: 'Basic Layouts',
title: 'BasicLayouts 高级布局',
path: '/components/basic-layouts',
},
// {
// "title": "Config",
// "path": "/components/config"
// },
{
title: 'Document Title',
title: 'DocumentTitle 页面标题',
path: '/components/document-title',
},
{
title: 'Exceptions',
title: 'Exceptions 异常组件',
path: '/components/exceptions',
},
{
title: 'Layout Tabs',
title: 'LayoutTabs 选项卡',
path: '/components/layout-tabs',
},
// {
// "title": "Router Control",
// "path": "/components/router-control"
// },
{
title: '登录UserLogin',
title: 'UserLogin 登录',
path: '/components/user-login',
},
{
title: 'Utils',
title: 'Utils 工具',
path: '/components/utils',
},
{
Expand All @@ -126,19 +126,19 @@ export const menusComponentsConfig: MenusConfigObject[] = [
path: '/components/components',
},
{
title: 'ProTable',
title: 'ProTable 高级表格',
path: '/components/protable',
},
{
title: 'ProDrawer',
title: 'ProDrawer 抽屉',
path: '/components/prodrawer',
},
{
title: 'ProForm',
title: 'ProForm 高级表单',
path: '/components/proform',
},
{
title: 'Skeleton',
title: 'Skeleton 骨架组件',
path: '/components/skeleton',
},
];
2 changes: 1 addition & 1 deletion packages/layout-tabs/src/styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
background: #fff;
border-bottom: 1px solid ;
padding: 3px;
border-bottom: 1px solid #ccc;
border-bottom: 1px solid #e9e9e9;
}
.uiw-tabs-warp .w-tabs-flow-content {
display: inline-flex;
Expand Down
1 change: 1 addition & 0 deletions packages/user-login/src/styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@

.uiw-loayout-login-warp .uiw-loayout-login-body .w-form {
flex: 1;
width: 100%;
}

.logo {
Expand Down

0 comments on commit 1ece941

Please sign in to comment.