django-vue3-admin-web/node_modules/vxe-table/es/colgroup/index.js
2025-10-20 21:21:14 +08:00

18 lines
656 B
JavaScript

import { VxeUI } from '../ui';
import VxeColgroupComponent from '../table/src/group';
export const VxeColgroup = Object.assign({}, VxeColgroupComponent, {
install(app) {
app.component(VxeColgroupComponent.name, VxeColgroupComponent);
// 兼容旧用法
app.component('VxeTableColgroup', VxeColgroupComponent);
}
});
if (VxeUI.dynamicApp) {
VxeUI.dynamicApp.component(VxeColgroupComponent.name, VxeColgroupComponent);
// 兼容旧用法
VxeUI.dynamicApp.component('VxeTableColgroup', VxeColgroupComponent);
}
VxeUI.component(VxeColgroupComponent);
export const Colgroup = VxeColgroup;
export default VxeColgroup;