Skip to content

Commit

Permalink
fix: 补充类型
Browse files Browse the repository at this point in the history
  • Loading branch information
qiuyan committed Nov 20, 2023
1 parent 62355ae commit ae43aa0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/lego/src/table/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ group:
| --- | --- | --- | --- | --- |
| columns | `true` | 列数据 | `Column[]` | |
| data | `true` | 数据源 | `T[]` | |
| height | `false` | 除了表头的表格内容高度, 如果不填默认撑满父组件 | `number` | calc(100% - 36px) |
| height | `false` | 除了表头的表格内容高度, 如果不填默认撑满父组件 | `number` | `calc(100% - 36px)` |
| pageSize | `true` | 每屏显示几条数据 | `number` | |
| speed | `false` | 速度(ms) | `number` | |
| autoplay | `false` | 自动轮播, 注:pageSize必须小于等于数量的一半才能自动轮播 | `boolean` | |
Expand Down
2 changes: 1 addition & 1 deletion packages/lego/src/table/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ const Container = memo(
speed,
children,
}: PropsWithChildren<{
height: string;
height: string | number;
pageSize: number;
autoplay: boolean;
speed: number;
Expand Down

0 comments on commit ae43aa0

Please sign in to comment.