You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
656 B
17 lines
656 B
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;
|
|
|