UNPKG

vxe-table

Version:

A PC-end table component based on Vxe UI, supporting copy-paste, data pivot table, and high-performance virtual list table solution.

23 lines (18 loc) 673 B
import { App } from 'vue' import { VxeUI } from '../ui' import VxeColumnComponent from '../table/src/column' export const VxeColumn = Object.assign({}, VxeColumnComponent, { install (app: App) { app.component(VxeColumnComponent.name as string, VxeColumnComponent) // 兼容旧用法 app.component('VxeTableColumn', VxeColumnComponent) } }) if (VxeUI.dynamicApp) { VxeUI.dynamicApp.component(VxeColumnComponent.name as string, VxeColumnComponent) // 兼容旧用法 VxeUI.dynamicApp.component('VxeTableColumn', VxeColumnComponent) } VxeUI.component(VxeColumnComponent) export const Column = VxeColumn export default VxeColumn