index.ts 607 B

123456789101112131415161718
  1. import { VueConstructor } from 'vue'
  2. import { VxeUI } from '@vxe-ui/core'
  3. import VxeFormGroupComponent from '../form/src/form-group'
  4. import { dynamicApp } from '../dynamics'
  5. const VxeFormGatherComponent = Object.assign({}, VxeFormGroupComponent, { name: 'VxeFormGather' })
  6. export const VxeFormGather = Object.assign(VxeFormGatherComponent, {
  7. install (app: VueConstructor) {
  8. app.component(VxeFormGatherComponent.name as string, VxeFormGatherComponent)
  9. }
  10. })
  11. dynamicApp.use(VxeFormGather)
  12. VxeUI.component(VxeFormGatherComponent)
  13. export const FormGather = VxeFormGather
  14. export default VxeFormGather