baidu / baidu/amis

crud导出功能优化建议

Open
#3,103 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
18.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

#### 是否关联于某个问题吗:
当crud配置了loadDataOnce实施前端一次性加载之后,已经不再使用后端分页功能,配置export-excel应该导出所有的数据而不是当前分页的数据,因为所有数据已经到前端了没必要再写一次导出的api,因为和crud的api完全一样。

#### 预期的解决方案:
请简单描述你想达到的效果...

#### 其他可接受方案:
请简单描述其他你可以接受的效果...

#### 任何附加信息:
请添加任何可以补充说明上述问题的材料,例如图片或视频等...

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Trace the CRUD component's loadDataOnce behavior and its export-excel handling, since the issue does not name specific files or tests. Verify how loaded records and the current page are selected for export; done means export-excel uses all data already loaded by CRUD without requiring a separate export API.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.