fix: when VxeTable toolbarConfig.refresh is enabled, it will carry incorrect parameters (#4980)

pull/56/MERGE
LinaBell 2024-11-30 10:57:23 +08:00 committed by GitHub
parent 7b9866158b
commit e3a93970f4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 1 deletions

View File

@ -43,7 +43,11 @@ function extendProxyOption(
const data = await configFn(
params,
{
...customValues,
/**
* toolbarConfig.refresh
* PointerEvent
*/
...(customValues instanceof PointerEvent ? {} : customValues),
...formValues,
},
...args,