-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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时searchInfo动态获取的问题 #1407
Comments
把 reload 解构出来,利用 reload 动态传入 searchInfo 的值。 reload({
searchInfo: {
// name: "xxx"
}
}) |
或者使用 fetch-before 事件,进行劫持,修改接口参数 |
4 tasks
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Subject of the feature
关于使用Table使用时searchInfo动态获取的问题。
Problem
目前看searchInfo的值似乎只能在初始化的时候写入。可是有些情况下需要从传入的参数中获取。比如在打开的Dailog中需要用到表格的情况:
Alternatives
我做了如下改造
useDataSource.ts
这样改造我能考虑到可能的副作用是,如果处理不当,可能对整体的分页会产生影响。
The text was updated successfully, but these errors were encountered: