Skip to content

Commit ae7adc9

Browse files
committed
doc: changelog 增加导出功能的描述
1 parent 2db924f commit ae7adc9

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

  • website
    • changelog/v1
    • i18n/en
      • docusaurus-plugin-content-blog-blog1/utils-tree
      • docusaurus-plugin-content-blog-changelog/v1

website/changelog/v1/index.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ title: v1 更新日志
3131
- ProTable 组件属性名变更(`confirmModelType` 改成 `delConfirmType`)。
3232
- ProTable 组件属性变更(`confirmModalProps` 移除,改成 `delPopconfirmProps``delModalConfirmProps`)。
3333
- ProTable 组件属性名变更(`optionColSpaceSize` 改成 `optionColumnSpaceProps`)。
34+
- ProTable 组件导出功能变更:
35+
1. 移除了 exceljs 库的默认依赖,这有助于减少组件库的体积。
36+
2. 对于需要导出的页面,需要先安装 exceljs 库,然后调用相关的方法。[参考文档](/components/protable#导出表格数据)
3437
- FormUpload 组件移除了给 children 默认注入 loading 属性的功能。改成给 children 函数提供 loading 属性。
3538

3639
#### 类型 <TsImg />

website/i18n/en/docusaurus-plugin-content-blog-blog1/utils/index.mdx renamed to website/i18n/en/docusaurus-plugin-content-blog-blog1/utils-tree/index.mdx

File renamed without changes.

website/i18n/en/docusaurus-plugin-content-blog-changelog/v1/index.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ For migration from v0, please pay attention to the changes below.
3131
- ProTable component property name changed (`confirmModelType` changed to `delConfirmType`).
3232
- ProTable component property changes (`confirmModalProps` removed, changed to `delPopconfirmProps` and `delModalConfirmProps`).
3333
- ProTable component property name changed (`optionColSpaceSize` changed to `optionColumnSpaceProps`).
34+
- ProTable component export functionality changes:
35+
1. Removed the default dependency on the exceljs library, which helps reduce the bundle size of the component library.
36+
2. For pages that need export functionality, you need to install the exceljs library first, then call the related methods. [Reference documentation](/components/protable#exporting-table-data-to-excel)
3437
- FormUpload component removed the functionality of automatically injecting the loading property to children. Changed to provide the loading property to the children function.
3538

3639
#### Types <TsImg />

0 commit comments

Comments
 (0)