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

🧐[问题]protable的columns中,每列的render方法的action参数的reload方法,不会触发其他column的request执行。 #8714

Open
loveCHN opened this issue Sep 10, 2024 · 0 comments

Comments

@loveCHN
Copy link

loveCHN commented Sep 10, 2024

{
title: '年份',
dataIndex: 'year',
valueType: 'select',
request: () => {
console.log('获取年份');
return GetBreedValueYearList();
},
{
title: '操作',
hideInSearch: true,
render(_, record, _index, action) {
return (

<EditBreedValue
onFinish={() => {
action?.reload();
}}
/>


);
},
}
protable的columns中,每列的render方法的action参数的reload方法,不会触发其他column的request执行,需要换成 action?.reset?.();才会打印“获取年份”

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant