diff --git a/CHANGELOG.md b/CHANGELOG.md index 1af3356..218beb3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,8 @@ - 1.0骨架发布 - Naive UI 升级至2.15.4 - 菜单新增排序字段 -- 新增 `ProTable` 组件,封装了常用的分页列配置等逻辑,可查看组件示例页面 +- 新增 `ProTable` 组件,封装了常用的分页列配置等逻辑 +- 新增 `ProTable` 组件示例页面 - 持续更新中... diff --git a/README.md b/README.md index 7cd1b44..be70a90 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,11 @@ Naive Ui Admin 是一个免费开源的中后台模版,使用了最新的`vue3 - [ ] 监控页 - [x] 工作台 +### 页面组件 +#### ProTable +- [x] 表格 +- 持续开发中... + ## 在线预览 - [naive-ui-admin](https://jekip.github.io) diff --git a/src/components/ProTable/src/props.ts b/src/components/ProTable/src/props.ts index 8582244..9055655 100644 --- a/src/components/ProTable/src/props.ts +++ b/src/components/ProTable/src/props.ts @@ -31,7 +31,7 @@ export const basicProps = { required: true }, rowKey: { - type: [String, Function] as PropType string)>, + type: [String, Function] as PropType string)>, default: undefined, }, pagination: {