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
627 B
17 lines
627 B
import { VxeUI } from '../ui';
|
|
import VxeColumnComponent from '../table/src/column';
|
|
export const VxeColumn = Object.assign({}, VxeColumnComponent, {
|
|
install(app) {
|
|
app.component(VxeColumnComponent.name, VxeColumnComponent);
|
|
// 兼容旧用法
|
|
app.component('VxeTableColumn', VxeColumnComponent);
|
|
}
|
|
});
|
|
if (VxeUI.dynamicApp) {
|
|
VxeUI.dynamicApp.component(VxeColumnComponent.name, VxeColumnComponent);
|
|
// 兼容旧用法
|
|
VxeUI.dynamicApp.component('VxeTableColumn', VxeColumnComponent);
|
|
}
|
|
VxeUI.component(VxeColumnComponent);
|
|
export const Column = VxeColumn;
|
|
export default VxeColumn;
|
|
|