Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

希望可以给 table 组件增加一个新的方法用来获取最原始的后台接口返回数据 #1028

Closed
JasonYHZ opened this issue Aug 3, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@JasonYHZ
Copy link

JasonYHZ commented Aug 3, 2021

Subject of the feature

希望可以给 table 组件增加一个新的方法用来获取最原始的后台接口返回数据。

Problem

在实际开发中需要给表格附加一些统计数据,真是的开发情况是后台服务会将这些计算结果一并加入到返回结构中例如 {items:[],count:10,computedA:100}
可是在实际使用表格组件的时候没有办法可以获取到 computedA 这个属性,现在表格上自带的 getDataSource 只能获取到 items 字段内的数据。

Expected behaviour

例如增加一个 getRawDataSource() 方法,可以直接获取到最原始的接口响应数据。

@mynetfan mynetfan added the enhancement New feature or request label Aug 3, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Sep 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants