1
0
mirror of synced 2025-12-12 09:10:58 +08:00
Files
vxe-table/packages/grid/index.ts
xuliangzhan 01cd9449af 重构组件
2024-05-29 12:51:47 +08:00

17 lines
422 B
TypeScript

import { App } from 'vue'
import { VxeUI } from 'vxe-pc-ui'
import VxeGridComponent from './src/grid'
export const VxeGrid = Object.assign({}, VxeGridComponent, {
install (app: App) {
app.component(VxeGridComponent.name as string, VxeGridComponent)
}
})
if (VxeUI.dynamicApp) {
VxeUI.dynamicApp.component(VxeGridComponent.name as string, VxeGridComponent)
}
export const Grid = VxeGrid
export default VxeGrid