django-vue3-admin-web/node_modules/vxe-table/packages/grid/index.ts
2025-10-20 21:21:14 +08:00

19 lines
471 B
TypeScript

import { App } from 'vue'
import { VxeUI } from '../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)
}
VxeUI.component(VxeGridComponent)
export const Grid = VxeGrid
export default VxeGrid