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

This commit is contained in:
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

View File

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