We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd1b16a commit cec5c11Copy full SHA for cec5c11
src/components/VxeTable/src/components/index.tsx
@@ -76,7 +76,7 @@ export const VXETablePluginAntd = {
76
install(vxetablecore: VxeUIExport) {
77
const { interceptor, renderer } = vxetablecore;
78
79
- renderer.mixin({
+ const customRenderComponents = {
80
AAutoComplete,
81
AInput,
82
AInputNumber,
@@ -99,6 +99,11 @@ export const VXETablePluginAntd = {
99
AEmpty,
100
AInputSearch,
101
AYearPicker,
102
+ };
103
+
104
+ Object.keys(customRenderComponents).forEach((name) => {
105
+ if (renderer.get(name)) return;
106
+ renderer.add(name, customRenderComponents[name]);
107
});
108
109
interceptor.add('event.clearFilter', handleClearEvent);
0 commit comments