dotnetcore/BootstrapBlazor

Table组件能不能加个自定义字段Key原封不动的带进QueryPageOptions就可以

Closed this issue · 2 comments

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

用DataServiceBase的QueryAsync统一查询数据的时候没办法知道这个查询来自哪个Table
加个参数可以做个识别,也能做权限判断,不然每个QueryAsync都要写到页面里.

Describe the solution you'd like

加个自定义字段串就行,在QueryPageOptions能获取到就行

Additional context

No response

@shur520 Thank you for contacting us. We will give feedback later.

服务不应该跟UI有关系,服务就是服务,只应该接收参数,返回响应