Skip to content

Commit

Permalink
fix: when VxeTable toolbarConfig.refresh is enabled, it will carry in…
Browse files Browse the repository at this point in the history
…correct parameters (#4980)
  • Loading branch information
imdap authored Nov 30, 2024
1 parent 7b98661 commit e3a9397
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/effects/plugins/src/vxe-table/extends.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@ function extendProxyOption(
const data = await configFn(
params,
{
...customValues,
/**
* 开启toolbarConfig.refresh功能
* 点击刷新按钮 这里的值为PointerEvent 会携带错误参数
*/
...(customValues instanceof PointerEvent ? {} : customValues),
...formValues,
},
...args,
Expand Down

0 comments on commit e3a9397

Please sign in to comment.