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

View File

@@ -43,7 +43,11 @@ function extendProxyOption(
const data = await configFn( const data = await configFn(
params, params,
{ {
...customValues, /**
* 开启toolbarConfig.refresh功能
* 点击刷新按钮 这里的值为PointerEvent 会携带错误参数
*/
...(customValues instanceof PointerEvent ? {} : customValues),
...formValues, ...formValues,
}, },
...args, ...args,