fourteendp
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
6 additions and
1 deletions
-
src/components/VxeTable/src/components/index.tsx
|
|
|
@ -76,7 +76,7 @@ export const VXETablePluginAntd = { |
|
|
|
install(vxetablecore: VxeUIExport) { |
|
|
|
const { interceptor, renderer } = vxetablecore; |
|
|
|
|
|
|
|
renderer.mixin({ |
|
|
|
const customRenderComponents = { |
|
|
|
AAutoComplete, |
|
|
|
AInput, |
|
|
|
AInputNumber, |
|
|
|
@ -99,6 +99,11 @@ export const VXETablePluginAntd = { |
|
|
|
AEmpty, |
|
|
|
AInputSearch, |
|
|
|
AYearPicker, |
|
|
|
}; |
|
|
|
|
|
|
|
Object.keys(customRenderComponents).forEach((name) => { |
|
|
|
if (renderer.get(name)) return; |
|
|
|
renderer.add(name, customRenderComponents[name]); |
|
|
|
}); |
|
|
|
|
|
|
|
interceptor.add('event.clearFilter', handleClearEvent); |
|
|
|
|