Browse Source
fix: when VxeTable toolbarConfig.refresh is enabled, it will carry incorrect parameters (#4980)
pull/4990/head
LinaBell
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
5 additions and
1 deletions
-
packages/effects/plugins/src/vxe-table/extends.ts
|
|
@ -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, |
|
|
|