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

Feature: Table组件的remoteDataSource能否支持函数Promise回调形式 #114

Closed
dpzxsm opened this issue Jul 13, 2021 · 0 comments
Closed
Assignees
Labels

Comments

@dpzxsm
Copy link
Contributor

dpzxsm commented Jul 13, 2021

类似这种配置

remoteDataSource: aysnc () => {
   return: {
       list: [],
      total: 0
   }
}

这样就可以自定义表单的请求方式,因为在某些特殊情况下,不一定从接口请求数据,也有可能需要链式多个请求才能获取数据

@xz8la8 xz8la8 added the Feature label Jul 13, 2021
@xz8la8 xz8la8 self-assigned this Jul 13, 2021
@xz8la8 xz8la8 closed this as completed in 76d72ed Jul 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants