Skip to content

Commit

Permalink
fix(doc): 更新文档说明
Browse files Browse the repository at this point in the history
  • Loading branch information
yaob421123 committed Apr 19, 2023
1 parent 9ae2978 commit 7b97f79
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions packages/components/src/ProDrawer/README.md
Expand Up @@ -169,7 +169,7 @@ export default Demo
## Props

#### 基础参数
[继承于uiw,请参考Drawer其余参数](https://uiwjs.github.io/#/components/drawer)
更多属性文档请参考 [uiw/Drawer](https://uiwjs.github.io/#/components/drawer)

| 参数 | 说明 | 类型 | 默认值 |
| :------ | :------- | :------------- | :----- |
Expand All @@ -181,7 +181,7 @@ export default Demo


#### ButtonsProps
[继承于uiw,请参考Button其余参数](https://uiwjs.github.io/#/components/button)
更多属性文档请参考 [uiw/Button](https://uiwjs.github.io/#/components/button)

| 参数 | 说明 | 类型 | 默认值 |
| :------- | :----------- | :------ | :----- |
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/ProForm/README.md
Expand Up @@ -1238,7 +1238,7 @@ export default Demo
### saveButtonProps resetButtonProps
其余属性继承于[uiw/button](https://uiwjs.github.io/#/components/button)
更多属性文档请参考 [uiw/button](https://uiwjs.github.io/#/components/button)
| 参数 | 说明 | 类型 | 默认值 |
| -------- | -------- | ------------------------ | ------ |
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/ProTable/README.md
Expand Up @@ -708,7 +708,7 @@ export default Demo6
| label | 按钮标题 | string | - |
| render | 不使用button,自定义组件 | React Component | - |

其余属性继承[uiw button](https://uiwjs.github.io/#/components/button)
更多属性文档请参考 [uiw button](https://uiwjs.github.io/#/components/button)

### operateButtons

Expand Down Expand Up @@ -796,7 +796,7 @@ props: [
| pageSize | 每页条数 | Number | 10 |
| onShowSizeChange | pageSize 变化的回调 | Function(current, pageSize) | - |

其余属性继承自[uiw Pagination](https://uiwjs.github.io/#/components/pagination)
更多属性文档请参考 [uiw Pagination](https://uiwjs.github.io/#/components/pagination)

## useTable

Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/ProTable/index.tsx
Expand Up @@ -81,9 +81,9 @@ const ProTabel: React.FC<ProtableProps> = (props) => {
)}

{/* 操作区域 */}
<Card noHover bodyStyle={{ paddingTop: 5 }}>
<Card noHover>
{operateButtons && operateButtons.length > 0 && (
<div style={{ background: '#fff', padding: '10px 0' }}>
<div style={{ background: '#fff', paddingBottom: 14 }}>
{operateButtons.map((btn: any, idx: number) =>
btn?.render ? (
<React.Fragment key={idx.toString()}>
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/Skeleton/README.md
Expand Up @@ -22,7 +22,7 @@ export default Demo
| ------- | ------------ | ------- | ------ |
| loading | 页面加载状态 | Boolean | false |

> 其余参数与[Uiw Loader](https://uiwjs.github.io/#/components/loader)相同
> 更多属性文档请参考 [Uiw Loader](https://uiwjs.github.io/#/components/loader)

## 贡献者
Expand Down

0 comments on commit 7b97f79

Please sign in to comment.