update docs
This commit is contained in:
parent
68f3d86761
commit
b7ff2e0673
@ -16,6 +16,9 @@ group:
|
||||
### 基础抽屉
|
||||
|
||||
```tsx
|
||||
/**
|
||||
* title: 基础抽屉
|
||||
*/
|
||||
import React from 'react';
|
||||
import { Button } from 'antd';
|
||||
import Drawer from './index.tsx';
|
||||
@ -41,6 +44,10 @@ export default () => (
|
||||
### 多层抽屉
|
||||
|
||||
```tsx
|
||||
/**
|
||||
* title: 多层抽屉
|
||||
* desc: 有多少层就执行多少个 `Drawer.open(props)`
|
||||
*/
|
||||
import React from 'react';
|
||||
import { Button } from 'antd';
|
||||
import Drawer from './index.tsx';
|
||||
@ -75,7 +82,7 @@ export default () => (
|
||||
```tsx
|
||||
/**
|
||||
* title: 关闭时提示
|
||||
* desc: 更多参数请参考 `Modal.confirm`
|
||||
* desc: 通过 `closeWithConfirm(props)` 方法触发,更多参数请参考 `Modal.confirm`
|
||||
*/
|
||||
import React from 'react';
|
||||
import { Button } from 'antd';
|
||||
|
@ -11,6 +11,8 @@ group:
|
||||
|
||||
# MenuEditor - 菜单编辑器
|
||||
|
||||
基于 Ant Design Menu 组件实现的菜单编辑器,考虑到可视化编辑的体验,目前只支持`竖向菜单`和`混合菜单`两种场景。
|
||||
|
||||
## 代码演示
|
||||
|
||||
### 竖向菜单
|
||||
|
@ -11,3 +11,4 @@ group:
|
||||
|
||||
# AdminLayout - 后台布局
|
||||
|
||||
内置的后台布局模板,提供了基础的菜单和路由切换。
|
||||
|
@ -8,3 +8,7 @@ group:
|
||||
title: Templates
|
||||
path: /client/templates
|
||||
---
|
||||
|
||||
# AuthLayout - 登录布局
|
||||
|
||||
内置的登录、注册页布局
|
@ -11,3 +11,4 @@ group:
|
||||
|
||||
# PageTemplate - 页面模板
|
||||
|
||||
常规的页面模板,支持区块配置。
|
||||
|
Loading…
Reference in New Issue
Block a user